summaryrefslogtreecommitdiff
path: root/rc/bin/service/startcifs
blob: 34d6048cc09c8612b1e9176aab5d0506f87ae4ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
} &