Changeset 1680407 in bootscripts-standard for cblfs/init.d/samba
- Timestamp:
- Oct 24, 2007, 8:45:54 PM (17 years ago)
- Branches:
- master
- Children:
- 6dee7fa
- Parents:
- 1d02f01
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cblfs/init.d/samba
r1d02f01 r1680407 11 11 . $rc_functions 12 12 13 smbdpid=/var/run/smbd.pid 14 nmbdpid=/var/run/nmbd.pid 15 13 16 case "$1" in 14 17 start) 15 18 boot_mesg "Starting nmbd..." 16 loadproc /usr/sbin/nmbd -D19 loadproc -p $nmbdpid /usr/sbin/nmbd -D 17 20 18 21 boot_mesg "Starting smbd..." 19 loadproc /usr/sbin/smbd -D22 loadproc -p $smbdpid /usr/sbin/smbd -D 20 23 ;; 21 24 22 25 stop) 23 26 boot_mesg "Stopping smbd..." 24 killproc /usr/sbin/smbd27 killproc -p $smbdpid /usr/sbin/smbd 25 28 26 29 boot_mesg "Stopping nmbd..." 27 killproc /usr/sbin/nmbd30 killproc -p $nmbdpid /usr/sbin/nmbd 28 31 ;; 29 32 30 33 reload) 31 34 boot_mesg "Reloading smbd..." 32 reloadproc /usr/sbin/smbd35 reloadproc -p $smbdpid /usr/sbin/smbd 33 36 34 37 boot_mesg "Reloading nmbd..." 35 reloadproc /usr/sbin/nmbd38 reloadproc -p $nmbdpid /usr/sbin/nmbd 36 39 ;; 37 40 … … 43 46 44 47 status) 45 statusproc /usr/sbin/nmbd46 statusproc /usr/sbin/smbd48 statusproc -p $nmbdpid /usr/sbin/nmbd 49 statusproc -p $smbdpid /usr/sbin/smbd 47 50 ;; 48 51
Note:
See TracChangeset
for help on using the changeset viewer.