]> git.zerfleddert.de Git - m1-debian/blobdiff - files/wifi.pl
more information
[m1-debian] / files / wifi.pl
index dad4758959552c524f501a5d206cd3310e02837d..d0f8156b55578c8dec86b83b47135f18942c91d8 100755 (executable)
@@ -14,7 +14,7 @@ for (`blkid`) {
 
 for my $dev (@vfat_devices) {
         system("mount -o ro $dev /mnt");
-        if (test -f $firmware_tarball) {
+        if (-f $firmware_tarball) {
                 system("tar -C /lib/firmware/ -xf $firmware_tarball");
                 system('rmmod brcmfmac');
                 system('rmmod brcmutil');
Impressum, Datenschutz