summaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authorjlam <jlam>2001-08-20 14:01:46 +0000
committerjlam <jlam>2001-08-20 14:01:46 +0000
commitc758221d2052091b10010427e35c253caa226f5e (patch)
treef2f724cb231d62e7b40fd2513953dbc2f090953c /net/samba
parent86a56827d5272527dec5d55229ed4e8daed59985 (diff)
downloadpkgsrc-c758221d2052091b10010427e35c253caa226f5e.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>.
Diffstat (limited to 'net/samba')
-rwxr-xr-xnet/samba/files/smbd.sh3
1 files changed, 2 insertions, 1 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