Openwrt/package/base-files/default/etc/init.d/S50httpd
2016-03-20 17:29:15 +01:00

11 lines
145 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
start() {
[ -d /www ] && httpd -p 80 -h /www -r OpenWrt
}
stop() {
killall httpd
}