2006-10-04 20:57:49 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-18 23:14:10 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
|
|
|
|
|
|
SERVICE_USE_PID=1
|
2006-08-08 10:32:26 +00:00
|
|
|
|
2011-11-18 23:14:10 +00:00
|
|
|
START=50
|
2006-08-08 10:32:26 +00:00
|
|
|
|
2006-10-04 20:57:49 +00:00
|
|
|
start() {
|
2011-11-18 23:14:10 +00:00
|
|
|
mkdir -m 0755 -p /var/log/lighttpd
|
|
|
|
service_start /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
|
2006-10-04 20:57:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2011-11-18 23:14:10 +00:00
|
|
|
service_stop /usr/sbin/lighttpd
|
2006-10-04 20:57:49 +00:00
|
|
|
}
|
2006-08-08 10:32:26 +00:00
|
|
|
|