Plan 9 from Bell Labs’s /usr/web/sources/contrib/someone/root/rc/bin/usbstart

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc

if(test -r '#u'/usb) {
	if(! test -r /dev/usb)
		bind -a '#u' /dev
	if(test -r /srv/usb)
		mount -a /srv/usb /dev
	if not {
		usb/usbd		# will start kb
#		usb/kb -a 2
#		usb/usbaudio -V -s usbaudio.$sysname
	}
}
exit ''

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].