1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-06 11:11:20 +02:00

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

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