summaryrefslogtreecommitdiffstats
path: root/openwrt/package/base-files/default/etc
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-02 22:51:39 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-02 22:51:39 +0000
commitc8db3cee25f75a373d7bb31fc27db7bd1bd9f893 (patch)
treef47c87776369239324da6d51928d6f87977a15c0 /openwrt/package/base-files/default/etc
parent917f72c829c3d91903e5bfeb9b2d59934b3c54ed (diff)
start httpd only if /www exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2032 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/base-files/default/etc')
-rwxr-xr-xopenwrt/package/base-files/default/etc/init.d/S50httpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/etc/init.d/S50httpd b/openwrt/package/base-files/default/etc/init.d/S50httpd
index 9cf551e5c..01772c12e 100755
--- a/openwrt/package/base-files/default/etc/init.d/S50httpd
+++ b/openwrt/package/base-files/default/etc/init.d/S50httpd
@@ -1,2 +1,2 @@
#!/bin/sh
-httpd -p 80 -h /www -r WRT54G Router
+[ -d /www ] && httpd -p 80 -h /www -r WRT54G Router