plan9/rc/bin/b:

8 lines
204 B
Bash
Executable File

#!/bin/rc
if(! test -f /srv/dos)
dossrv >/dev/null </dev/null >[2]/dev/null
unmount /n/b:>[2]/dev/null
mount -c /srv/dos /n/b: /dev/fd1disk
unmount /n/b >[2]/dev/null
mount -c /srv/dos /n/b /dev/fd1disk