diff options
author | wiz <wiz@pkgsrc.org> | 2001-05-13 00:44:50 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-05-13 00:44:50 +0000 |
commit | e86c933503acb5944c124038f3c6ddbd38860a7b (patch) | |
tree | cf3af7761ea2c262ae2e7ada954bdc68389e8a00 /net/samba | |
parent | 39b6b9772b6a1688e7982d170554cdb5fb13103c (diff) | |
download | pkgsrc-e86c933503acb5944c124038f3c6ddbd38860a7b.tar.gz |
Don't set $command_args, set ${smbd,nmbd}_flags instead.
Patch provided in pkg/12921 by Paul Goyette.
Diffstat (limited to 'net/samba')
-rwxr-xr-x | net/samba/files/nmbd.sh | 6 | ||||
-rwxr-xr-x | net/samba/files/smbd.sh | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/net/samba/files/nmbd.sh b/net/samba/files/nmbd.sh index 79930fb04e3..b05094e6a50 100755 --- a/net/samba/files/nmbd.sh +++ b/net/samba/files/nmbd.sh @@ -1,18 +1,18 @@ #!/bin/sh # -# $NetBSD: nmbd.sh,v 1.1 2001/02/04 15:29:58 tron Exp $ +# $NetBSD: nmbd.sh,v 1.2 2001/05/13 00:44:50 wiz Exp $ # # PROVIDE: nmbd # REQUIRE: DAEMON name="nmbd" command="@PREFIX@/sbin/${name}" -command_args="-D" +nmbd_flags="-D" if [ ! -d /etc/rc.d ] then @ECHO@ -n ' ${name}' - exec ${command} ${command_args} + exec ${command} ${nmbd_flags} ${command_args} fi . /etc/rc.subr diff --git a/net/samba/files/smbd.sh b/net/samba/files/smbd.sh index d04b8a54068..2787f4372e7 100755 --- a/net/samba/files/smbd.sh +++ b/net/samba/files/smbd.sh @@ -1,18 +1,18 @@ #!/bin/sh # -# $NetBSD: smbd.sh,v 1.1 2001/02/04 15:29:59 tron Exp $ +# $NetBSD: smbd.sh,v 1.2 2001/05/13 00:44:50 wiz Exp $ # # PROVIDE: smbd # REQUIRE: nmbd name="smbd" command="@PREFIX@/sbin/${name}" -command_args="-D" +smbd_flags="-D" if [ ! -d /etc/rc.d ] then @ECHO@ -n ' ${name}' - exec ${command} ${command_args} + exec ${command} ${smbd_flags} ${command_args} fi . /etc/rc.subr |