d166368e76
Submitted by: hosokawa
14 lines
203 B
Bash
14 lines
203 B
Bash
#!/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
|