diff options
author | jlam <jlam@pkgsrc.org> | 2002-02-05 06:04:36 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-02-05 06:04:36 +0000 |
commit | e0d358778b0df3dd6eda22a878f91c1517d291dd (patch) | |
tree | 910b301d9e99bea4118f547f996c86cbedac39fc /www/apache/files | |
parent | d0529c736bda8009b0db6b89eaea48137d0c92ec (diff) | |
download | pkgsrc-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 'www/apache/files')
-rw-r--r-- | www/apache/files/apache.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/apache/files/apache.sh b/www/apache/files/apache.sh index 7e5db5799bc..3b69568e607 100644 --- a/www/apache/files/apache.sh +++ b/www/apache/files/apache.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: apache.sh,v 1.15 2001/12/26 22:03:38 jlam Exp $ +# $NetBSD: apache.sh,v 1.16 2002/02/05 06:04:42 jlam Exp $ # # PROVIDE: apache # REQUIRE: DAEMON @@ -9,7 +9,7 @@ # To start apache at startup, copy this script to /etc/rc.d and set # apache=YES in /etc/rc.conf. -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then . /etc/rc.subr fi @@ -31,7 +31,7 @@ start_cmd="${ctl_command} ${apache_start}" stop_cmd="${ctl_command} stop" restart_cmd="${ctl_command} restart" -if [ -e /etc/rc.subr ] +if [ -f /etc/rc.subr ] then load_rc_config $name run_rc_command "$1" |