From e0d358778b0df3dd6eda22a878f91c1517d291dd Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 5 Feb 2002 06:04:36 +0000 Subject: Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f". Noted by Stoned Elipot in private email. --- net/samba/files/nmbd.sh | 6 +++--- net/samba/files/samba.sh | 6 +++--- net/samba/files/smbd.sh | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'net/samba') diff --git a/net/samba/files/nmbd.sh b/net/samba/files/nmbd.sh index 3e076e3d10a..34041cbe1c9 100755 --- a/net/samba/files/nmbd.sh +++ b/net/samba/files/nmbd.sh @@ -1,11 +1,11 @@ #!/bin/sh # -# $NetBSD: nmbd.sh,v 1.6 2001/11/21 21:38:53 jlam Exp $ +# $NetBSD: nmbd.sh,v 1.7 2002/02/05 06:04:39 jlam Exp $ # # PROVIDE: nmbd # REQUIRE: DAEMON -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then . /etc/rc.subr fi @@ -20,7 +20,7 @@ command_args="-D" # _must_ start as daemon from rc.d; reload_cmd=":" # avoid dumping debug output on SIGHUP -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then load_rc_config $name run_rc_command "$1" diff --git a/net/samba/files/samba.sh b/net/samba/files/samba.sh index e7641771a81..905aa19a0f6 100644 --- a/net/samba/files/samba.sh +++ b/net/samba/files/samba.sh @@ -1,10 +1,10 @@ #!/bin/sh # -# $NetBSD: samba.sh,v 1.9 2002/01/10 12:01:37 jlam Exp $ +# $NetBSD: samba.sh,v 1.10 2002/02/05 06:04:39 jlam Exp $ # # KEYWORD: nostart -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then . /etc/rc.subr fi @@ -40,7 +40,7 @@ reload_cmd="forward_commands" status_cmd="forward_commands" extra_commands="reload status" -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then run_rc_command "$1" else diff --git a/net/samba/files/smbd.sh b/net/samba/files/smbd.sh index 1ff02b39102..f17887e91b2 100755 --- a/net/samba/files/smbd.sh +++ b/net/samba/files/smbd.sh @@ -1,11 +1,11 @@ #!/bin/sh # -# $NetBSD: smbd.sh,v 1.7 2001/11/21 21:38:53 jlam Exp $ +# $NetBSD: smbd.sh,v 1.8 2002/02/05 06:04:39 jlam Exp $ # # PROVIDE: smbd # REQUIRE: DAEMON -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then . /etc/rc.subr fi @@ -18,7 +18,7 @@ extra_commands="reload" command_args="-D" # _must_ start as daemon from rc.d; # add more flags through ${${name}_flags} -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then load_rc_config $name run_rc_command "$1" -- cgit v1.2.3