]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/init.d/samba
2 # Begin /etc/init.d/samba
4 # Based on sysklogd script from LFS-3.1 and earlier.
5 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
7 #$LastChangedBy: bdubbs $
8 #$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
10 .
/etc
/init.d
/init-functions
14 boot_mesg
"Starting nmbd..."
15 loadproc
/usr
/sbin
/nmbd
-D
17 boot_mesg
"Starting smbd..."
18 loadproc
/usr
/sbin
/smbd
-D
22 boot_mesg
"Stopping smbd..."
23 killproc
/usr
/sbin
/smbd
25 boot_mesg
"Stopping nmbd..."
26 killproc
/usr
/sbin
/nmbd
30 boot_mesg
"Reloading smbd..."
31 reloadproc
/usr
/sbin
/smbd
33 boot_mesg
"Reloading nmbd..."
34 reloadproc
/usr
/sbin
/nmbd
44 statusproc
/usr
/sbin
/nmbd
45 statusproc
/usr
/sbin
/smbd
49 echo "Usage: $0 {start|stop|reload|restart|status}"
54 # End /etc/init.d/samba