summaryrefslogtreecommitdiff
path: root/net/ddclient
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-02-05 06:04:36 +0000
committerjlam <jlam@pkgsrc.org>2002-02-05 06:04:36 +0000
commite0d358778b0df3dd6eda22a878f91c1517d291dd (patch)
tree910b301d9e99bea4118f547f996c86cbedac39fc /net/ddclient
parentd0529c736bda8009b0db6b89eaea48137d0c92ec (diff)
downloadpkgsrc-e0d358778b0df3dd6eda22a878f91c1517d291dd.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/ddclient')
-rw-r--r--net/ddclient/files/ddclient.sh6
1 files changed, 3 insertions, 3 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"