1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
9 user_exists http || user_add http
10 [ -d /var
/log
/lighttpd
] ||
{
11 mkdir
-m 0775 -p /var
/log
/lighttpd
12 chgrp www-data
/var
/log
/lighttpd
14 service_start
/usr
/sbin
/lighttpd
-f /etc
/lighttpd
/lighttpd.conf
18 service_stop
/usr
/sbin
/lighttpd
22 /usr
/sbin
/lighttpd
-tt -f /etc
/lighttpd
/lighttpd.conf ||
exit 1