summaryrefslogtreecommitdiff
path: root/net
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
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')
-rw-r--r--net/ddclient/files/ddclient.sh6
-rw-r--r--net/openslp/files/slpd.sh4
-rwxr-xr-xnet/samba/files/nmbd.sh6
-rw-r--r--net/samba/files/samba.sh6
-rwxr-xr-xnet/samba/files/smbd.sh6
-rwxr-xr-xnet/samba20/files/nmbd.sh6
-rw-r--r--net/samba20/files/samba.sh6
-rwxr-xr-xnet/samba20/files/smbd.sh6
8 files changed, 23 insertions, 23 deletions
diff --git a/net/ddclient/files/ddclient.sh b/net/ddclient/files/ddclient.sh
index 8453f43e1fc..be3529bbdb6 100644
--- a/net/ddclient/files/ddclient.sh
+++ b/net/ddclient/files/ddclient.sh
@@ -1,13 +1,13 @@
#!/bin/sh
#
-# $NetBSD: ddclient.sh,v 1.2 2001/12/09 21:44:52 jlam Exp $
+# $NetBSD: ddclient.sh,v 1.3 2002/02/05 06:04:38 jlam Exp $
#
# Dynamic DNS update client
#
# PROVIDE: ddclient
# REQUIRE: DAEMON
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
@@ -27,7 +27,7 @@ ddclient_start()
${daemon} ${ddclient_flags} ${command_args}
}
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
load_rc_config $name
run_rc_command "$1"
diff --git a/net/openslp/files/slpd.sh b/net/openslp/files/slpd.sh
index 868b8524c52..f48c79f0ce9 100644
--- a/net/openslp/files/slpd.sh
+++ b/net/openslp/files/slpd.sh
@@ -5,7 +5,7 @@
# PROVIDE: slpd
# REQUIRE: DAEMON
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
@@ -16,7 +16,7 @@ command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/slp.conf"
-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/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"
diff --git a/net/samba20/files/nmbd.sh b/net/samba20/files/nmbd.sh
index 03fdca260dc..a947515e1df 100755
--- a/net/samba20/files/nmbd.sh
+++ b/net/samba20/files/nmbd.sh
@@ -1,11 +1,11 @@
#!/bin/sh
#
-# $NetBSD: nmbd.sh,v 1.4 2001/11/21 21:38:53 jlam Exp $
+# $NetBSD: nmbd.sh,v 1.5 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/samba20/files/samba.sh b/net/samba20/files/samba.sh
index 9cccc3161d6..5b10e76a6ec 100644
--- a/net/samba20/files/samba.sh
+++ b/net/samba20/files/samba.sh
@@ -1,10 +1,10 @@
#!/bin/sh
#
-# $NetBSD: samba.sh,v 1.5 2002/01/12 00:22:40 jlam Exp $
+# $NetBSD: samba.sh,v 1.6 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/samba20/files/smbd.sh b/net/samba20/files/smbd.sh
index dad6f156057..0bb43e98644 100755
--- a/net/samba20/files/smbd.sh
+++ b/net/samba20/files/smbd.sh
@@ -1,11 +1,11 @@
#!/bin/sh
#
-# $NetBSD: smbd.sh,v 1.5 2001/11/21 21:38:54 jlam Exp $
+# $NetBSD: smbd.sh,v 1.6 2002/02/05 06:04:40 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"