plan9fox/rc/bin/service/startcifs
2011-03-30 18:33:45 +00:00

15 lines
239 B
Bash
Executable file

#!/bin/rc
# startcifs - (re)start cifs (smb) server
echo killing old cifs server
Kill aquarela | rc
echo starting new cifs server
@ {
echo 'srv -A local' >>/srv/fscons
sleep 2
chmod 666 /srv/local
9fs local
cd /sys/log
aquarela
} &