start httpd only if /www exists

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2032 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico committed 2005-10-02 22:51:39 +00:00
1 parent 917f72c829
commit c8db3cee25
1 file changed
+1 -1
@@ -1,2 +1,2 @@
#!/bin/sh
httpd -p 80 -h /www -r WRT54G Router
[ -d /www ] && httpd -p 80 -h /www -r WRT54G Router