git: 9front

ref: b9e031951a57b34a700eeb70568d1fd86fc8f01c
dir: /rc/bin/service/startcifs/

View raw version
#!/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
} &