blob: 50fab9f6aeffe047ef09396f214b6273a008744c (
plain)
1
2
3
4
5
|
INC := "${@int(PRINC) + 1}"
do_install_append() {
sed -i '2i port=`grep "^server.port" /etc/lighttpd.conf`; if [ -z $port ]; then echo "server port not configured, not running lighttpd..."; exit 0; fi' ${D}/etc/init.d/lighttpd
}
|