]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Oops
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 17 Jul 2015 11:16:52 +0000 (08:16 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 17 Jul 2015 11:16:52 +0000 (08:16 -0300)
files/etc/rc.local

index 2618f6e161588b1070eae6f6bb07eac3c0de6447..55fdcd914a4600dd51122703b5d460f60f73c826 100644 (file)
@@ -45,7 +45,7 @@ if [ -e "/sys/module/usbcore/parameters/authorized_default" ]; then
   echo "0" > /sys/module/usbcore/parameters/authorized_default
 
   for bus in /sys/bus/usb/devices/usb*; do
-    echo $0 > $bus/authorized_default
+    echo 0 > $bus/authorized_default
   done
 fi