smbd responds to SIGHUP by reloading its configuration file, so add

"reload" to the rc.d command listing.  Noted by Luke Mewburn
<lukem@wasabisystems.com>.
This commit is contained in:
jlam 2001-08-20 14:01:46 +00:00
parent fa01606ace
commit 55d8038c48
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: smbd.sh,v 1.3 2001/08/17 16:08:21 jlam Exp $
# $NetBSD: smbd.sh,v 1.4 2001/08/20 14:01:46 jlam Exp $
#
# PROVIDE: smbd
# REQUIRE: nmbd
@ -9,6 +9,7 @@ name="smbd"
command="@PREFIX@/sbin/${name}"
command_args="-D" # _must_ start as daemon from rc.d;
# add more flags through ${smbd_flags}
extra_commands="reload"
if [ ! -d /etc/rc.d ]
then

View file

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: smbd.sh,v 1.1.1.1 2001/08/03 13:24:37 jlam Exp $
# $NetBSD: smbd.sh,v 1.2 2001/08/20 14:01:46 jlam Exp $
#
# PROVIDE: smbd
# REQUIRE: nmbd
@ -9,6 +9,7 @@ name="smbd"
command="@PREFIX@/sbin/${name}"
command_args="-D" # _must_ start as daemon from rc.d;
# add more flags through ${smbd_flags}
extra_commands="reload"
if [ ! -d /etc/rc.d ]
then