summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-08-20 14:01:46 +0000
committerjlam <jlam@pkgsrc.org>2001-08-20 14:01:46 +0000
commit55d8038c4856dd7091713144ebf5e9c41e39ea9b (patch)
treef2f724cb231d62e7b40fd2513953dbc2f090953c
parentfa01606ace6a1e9d81dd2ef0b677ea70522da6a6 (diff)
downloadpkgsrc-55d8038c4856dd7091713144ebf5e9c41e39ea9b.tar.gz
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>.
-rwxr-xr-xnet/samba/files/smbd.sh3
-rwxr-xr-xnet/samba20/files/smbd.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/net/samba/files/smbd.sh b/net/samba/files/smbd.sh
index b2f551efdc9..c30ede85a05 100755
--- a/net/samba/files/smbd.sh
+++ b/net/samba/files/smbd.sh
@@ -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
diff --git a/net/samba20/files/smbd.sh b/net/samba20/files/smbd.sh
index 02e773ce042..cc7a8a70517 100755
--- a/net/samba20/files/smbd.sh
+++ b/net/samba20/files/smbd.sh
@@ -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