summaryrefslogtreecommitdiff
path: root/net/samba/files/samba.sh.sample
blob: 50b8968ec6c5f4869e7f2ae117b7c323ef44a263 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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