start httpd only if /www exists
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 2 Oct 2005 22:51:39 +0000 (22:51 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 2 Oct 2005 22:51:39 +0000 (22:51 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2032 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/base-files/default/etc/init.d/S50httpd

index 9cf551e..01772c1 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-httpd -p 80 -h /www -r WRT54G Router
+[ -d /www ] && httpd -p 80 -h /www -r WRT54G Router
This page took 0.030879 seconds and 4 git commands to generate.