start httpd only if /www exists
SVN-Revision: 2032
This commit is contained in:
parent
926728c2e7
commit
b46460d584
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue