summaryrefslogtreecommitdiff
path: root/package/base-files/default/etc/init.d/S50httpd
blob: a05b10c09477131849f4495dcee917fa45a44969 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org

start() {
	[ -d /www ] && httpd -p 80 -h /www -r OpenWrt
}

stop() {
	killall httpd
}