From f2463372c9e35cf640f1b0ccede0314a239b0d25 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 1 Mar 2011 21:19:11 +0100 Subject: fix startup scripts, when variable is not set in /etc/rc.conf --- package/axtls/files/axhttpd.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/axtls') 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 -- cgit v1.2.3