summaryrefslogtreecommitdiff
path: root/package/axtls
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-01 21:19:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-01 21:19:11 +0100
commitf2463372c9e35cf640f1b0ccede0314a239b0d25 (patch)
treed0136965860008a32e72bfac7442bc35d694758c /package/axtls
parent72a7d18f2fa0330212333dd95c18f2278c021cee (diff)
fix startup scripts, when variable is not set in /etc/rc.conf
Diffstat (limited to 'package/axtls')
-rw-r--r--package/axtls/files/axhttpd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/axtls/files/axhttpd.init b/package/axtls/files/axhttpd.init
index 5a1671db5..a7e25938a 100644
--- a/package/axtls/files/axhttpd.init
+++ b/package/axtls/files/axhttpd.init
@@ -10,8 +10,8 @@ autostart)
exec sh $0 start
;;
start)
- if [ ! -d /www -a ! -h /www ]; then
- echo "axhttpd not started. create /www first"
+ if [ ! -d /srv/www -a ! -h /srv/www ]; then
+ echo "axhttpd not started. create /srv/www first"
exit 0
fi
/usr/sbin/axhttpd >>/var/log/axhttpd.access