Files
wifipineapple-openwrt/openwrt/package/base-files/default/etc/init.d/S50httpd
Nicolas Thill 9d4c341377 start httpd only if /www exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-02 22:51:39 +00:00

3 lines
62 B
Bash
Executable File

#!/bin/sh
[ -d /www ] && httpd -p 80 -h /www -r WRT54G Router