shithub: riscv

ref: 1a5cf98c99fa20d0dd0768cd9c61fab84c2a77f8
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
} &