summaryrefslogtreecommitdiff
path: root/net/samba/files
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-05-03 23:23:06 +0000
committerjlam <jlam@pkgsrc.org>2006-05-03 23:23:06 +0000
commitf3a2054e6c88363eb28e8bc21b0a6dc8d032d9ec (patch)
treea09f6e605812292ad1a6e304d67646aa335d1800 /net/samba/files
parent674b4ea0b36a2a0cbf4ebe004aa17fadaddeb9ef (diff)
downloadpkgsrc-f3a2054e6c88363eb28e8bc21b0a6dc8d032d9ec.tar.gz
Samba developers say that winbindd does not require nmbd to be running.
Bump PKGREVISION to 1.
Diffstat (limited to 'net/samba/files')
-rw-r--r--net/samba/files/winbindd.sh19
1 files changed, 2 insertions, 17 deletions
diff --git a/net/samba/files/winbindd.sh b/net/samba/files/winbindd.sh
index 61207980a1c..2f1542a1336 100644
--- a/net/samba/files/winbindd.sh
+++ b/net/samba/files/winbindd.sh
@@ -1,33 +1,18 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: winbindd.sh,v 1.3 2005/12/21 04:17:53 jlam Exp $
+# $NetBSD: winbindd.sh,v 1.4 2006/05/03 23:23:06 jlam Exp $
#
# PROVIDE: winbindd
-# REQUIRE: nmbd
+# REQUIRE: DAEMON
. /etc/rc.subr
name="winbindd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
-required_vars="nmbd"
required_files="@SAMBA_ETCDIR@/smb.conf"
extra_commands="reload"
command_args="-B"
-# load_rc_config_var() from /etc/rc.subr on the netbsd-3 branch, for
-# the benefit of platforms with older versions of /etc/rc.subr.
-#
-load_rc_config_var()
-{
- eval $(eval '(
- load_rc_config '$1' >/dev/null;
- if [ -n "${'$2'}" -o "${'$2'-UNSET}" != "UNSET" ]; then
- echo '$2'=\'\''${'$2'}\'\'';
- fi
- )' )
-}
-
load_rc_config $name
-load_rc_config_var nmbd nmbd
run_rc_command "$1"