start httpd only if /www exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2032 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
72c0a3c2fc
commit
bede0c5872
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
httpd -p 80 -h /www -r WRT54G Router
|
||||
[ -d /www ] && httpd -p 80 -h /www -r WRT54G Router
|
||||
|
|
Loading…
Reference in New Issue