diff options
| author | Nicolas Thill <nico@openwrt.org> | 2005-10-02 22:51:39 +0000 |
|---|---|---|
| committer | Nicolas Thill <nico@openwrt.org> | 2005-10-02 22:51:39 +0000 |
| commit | 9d4c34137784a3695ae9e2c88198d708ebc62d27 (patch) | |
| tree | f47c87776369239324da6d51928d6f87977a15c0 | |
| parent | 30da422d41868745f05c451acc69743d4a282b38 (diff) | |
| download | upstream-9d4c34137784a3695ae9e2c88198d708ebc62d27.tar.gz upstream-9d4c34137784a3695ae9e2c88198d708ebc62d27.tar.bz2 upstream-9d4c34137784a3695ae9e2c88198d708ebc62d27.zip | |
start httpd only if /www exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2032 3c298f89-4303-0410-b956-a3cf2f4a3e73
| -rwxr-xr-x | openwrt/package/base-files/default/etc/init.d/S50httpd | 2 |
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 9cf551e5c6b..01772c12ead 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 |
