2009-07-14 15:33:37 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-09 19:49:03 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
|
|
|
2009-07-14 15:33:37 +00:00
|
|
|
START=50
|
|
|
|
|
2011-11-09 19:49:03 +00:00
|
|
|
SERVICE_USE_PID=1
|
|
|
|
|
2009-07-14 15:33:37 +00:00
|
|
|
start() {
|
2011-11-09 19:49:03 +00:00
|
|
|
[ -f /etc/syslog-ng.conf ] || return 1
|
|
|
|
service_start /usr/sbin/syslog-ng
|
2009-07-14 15:33:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2011-11-09 19:49:03 +00:00
|
|
|
service_stop /usr/sbin/syslog-ng
|
2009-07-14 15:33:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
reload() {
|
2011-11-09 19:49:03 +00:00
|
|
|
service_reload /usr/sbin/syslog-ng
|
2009-07-14 15:33:37 +00:00
|
|
|
}
|