summaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authorjlam <jlam>2002-02-05 06:04:36 +0000
committerjlam <jlam>2002-02-05 06:04:36 +0000
commit6cae8868e0e29c29b7c54cd11d91ca6896b4e6db (patch)
tree910b301d9e99bea4118f547f996c86cbedac39fc /net/samba
parenta760b2de0d07abff5d65eb19eec822836826804c (diff)
downloadpkgsrc-6cae8868e0e29c29b7c54cd11d91ca6896b4e6db.tar.gz
Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".
Noted by Stoned Elipot <seb@netbsd.org> in private email.
Diffstat (limited to 'net/samba')
-rwxr-xr-xnet/samba/files/nmbd.sh6
-rw-r--r--net/samba/files/samba.sh6
-rwxr-xr-xnet/samba/files/smbd.sh6
3 files changed, 9 insertions, 9 deletions
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"