2006-10-04 21:04:48 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-09 19:49:03 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
|
|
|
2007-05-10 10:38:53 +00:00
|
|
|
START=50
|
2006-08-08 14:56:43 +00:00
|
|
|
|
2006-10-04 21:04:48 +00:00
|
|
|
start() {
|
2012-02-05 19:45:20 +00:00
|
|
|
[ -f /etc/syslog-ng/syslog-ng.conf ] || return 1
|
2011-11-09 19:49:03 +00:00
|
|
|
service_start /usr/sbin/syslog-ng
|
2006-08-08 14:56:43 +00:00
|
|
|
}
|
|
|
|
|
2006-10-04 21:04:48 +00:00
|
|
|
stop() {
|
2011-11-09 19:49:03 +00:00
|
|
|
service_stop /usr/sbin/syslog-ng
|
2006-10-04 21:04:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
reload() {
|
2011-11-09 19:49:03 +00:00
|
|
|
service_reload /usr/sbin/syslog-ng
|
2006-10-04 21:04:48 +00:00
|
|
|
}
|