start httpd only if /www exists

SVN-Revision: 2032
lede-17.01
Nicolas Thill 2005-10-02 22:51:39 +00:00
parent 926728c2e7
commit b46460d584
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