summaryrefslogtreecommitdiff
path: root/rc/bin/service/startcifs
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/service/startcifs')
-rwxr-xr-xrc/bin/service/startcifs14
1 files changed, 14 insertions, 0 deletions
diff --git a/rc/bin/service/startcifs b/rc/bin/service/startcifs
new file mode 100755
index 000000000..34d6048cc
--- /dev/null
+++ b/rc/bin/service/startcifs
@@ -0,0 +1,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
+} &