]> git.lizzy.rs Git - plan9front.git/blobdiff - rc/bin/nusbrc
crop /lib/face/48x48x8/n/nixie.1 to the right size (was 512x512)
[plan9front.git] / rc / bin / nusbrc
index a9efcf8a69c30b79fb05775cc54af3d93696a6f3..546803a4b56fc80a25b4b169bb2c44c6c38f1ecc 100755 (executable)
@@ -4,7 +4,6 @@ if(! test -e '#σ/usb/usbevent')
        exit
 if(! bind -a '#u' /dev)
        exit
-
 @{
        rfork ne
        fn attach {
@@ -14,6 +13,8 @@ if(! bind -a '#u' /dev)
                case *02
                        # serial and ethernet
                        nusb/serial $1
+                       # handled /sys/src/9/boot/nusbrc
+                       # nusb/ether $1
                case *03
                        # handled /sys/src/9/boot/nusbrc
                        # nusb/kb $1
@@ -30,4 +31,5 @@ if(! bind -a '#u' /dev)
        rc < '#σ/usb/usbevent' &
 }
 
-bind -a '#σ/usb' /dev
+bind -qa '#σ/usb' /dev
+bind -qa '#σ/usbnet' /net