mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
14 lines
203 B
Plaintext
14 lines
203 B
Plaintext
|
#!/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
|