start httpd only if /www exists

SVN-Revision: 2032
This commit is contained in:
Nicolas Thill 2005-10-02 22:51:39 +00:00
parent 926728c2e7
commit b46460d584

View file

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