start httpd only if /www exists

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2032 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Nicolas Thill 2005-10-02 22:51:39 +00:00
parent 72c0a3c2fc
commit bede0c5872
1 changed files with 1 additions and 1 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh
httpd -p 80 -h /www -r WRT54G Router
[ -d /www ] && httpd -p 80 -h /www -r WRT54G Router