diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-02 22:51:39 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-02 22:51:39 +0000 |
commit | 93c83b7d16192652859a0fe6fc6175f3b0879c59 (patch) | |
tree | 7f27dbd19ff78892d5024e9e7810a5ef57612e03 /package/base-files | |
parent | 009ac7e88aebf869f08716368f5aa7ccac96ca50 (diff) |
start httpd only if /www exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2032 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/default/etc/init.d/S50httpd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/etc/init.d/S50httpd b/package/base-files/default/etc/init.d/S50httpd index 9cf551e5c6..01772c12ea 100755 --- a/package/base-files/default/etc/init.d/S50httpd +++ b/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 |