diff options
Diffstat (limited to 'net/samba-devel/files/samba.sh.sample')
-rw-r--r-- | net/samba-devel/files/samba.sh.sample | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/samba-devel/files/samba.sh.sample b/net/samba-devel/files/samba.sh.sample new file mode 100644 index 000000000000..50b8968ec6c5 --- /dev/null +++ b/net/samba-devel/files/samba.sh.sample @@ -0,0 +1,13 @@ +#!/bin/sh +smbspool=/var/spool/samba +smbd=/usr/local/sbin/smbd +nmbd=/usr/local/sbin/nmbd + +if [ -f $smbd ]; then + if [ -d $smbspool ]; then + rm -f $smbspool/* + fi + echo -n ' Samba' + $smbd -D + $nmbd -D +fi |