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

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


#!/bin/rc
# audio - set up namespaces and run agui
rfork n
if (test -e '#A/audio')
	bind -a '#A' /dev			>/dev/null >[2=1]
if (! test -e /dev/audio)
	mount -b /srv/usbaudio.$sysname	/dev	>/dev/null >[2=1]
if (! test -e /dev/audio)
	usb/usbaudio -V -s usbaudio.$sysname
9fs audio
exec games/agui $*

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.