mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2026-06-28 01:58:34 +00:00
non-root smb share
This commit is contained in:
+4
-2
@@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# TODO sigterm?
|
||||
smbd -s smb.conf -l=/home/me/samba/log --foreground --no-process-group
|
||||
smbd -s smb.conf -l=/home/me/samba/log
|
||||
trap 'echo "stopping smbd..."' TERM
|
||||
tail -f /dev/null &
|
||||
wait $!
|
||||
|
||||
Reference in New Issue
Block a user