move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the...
[openwrt/staging/mkresin.git] / openwrt / package / syslog-ng / files / syslog-ng.init
diff --git a/openwrt/package/syslog-ng/files/syslog-ng.init b/openwrt/package/syslog-ng/files/syslog-ng.init
deleted file mode 100755 (executable)
index 40472ed..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-syslog_start() {
-  [ -f /etc/syslog-ng/syslog-ng.conf ] || {
-    echo "/etc/syslog-ng/syslog-ng.conf does not exist !";
-    exit 0;
-  };
-  [ -d /var/run ] || mkdir -p /var/run
-  [ -x /usr/sbin/syslog-ng ] && /usr/sbin/syslog-ng
-}
-
-syslog_stop() {
-  killall syslog-ng
-}
-
-case "$1" in
-  start)
-       syslog_start
-       ;;
-  stop)
-       syslog_stop
-       ;;
-  restart)
-       syslog_stop
-       sleep 1s
-       syslog_start
-       ;;
-  reload)
-       kill -HUP `cat /var/run/syslog-ng.pid` &>/dev/null
-       ;;
-  *)
-       echo "Usage: $0 <start|stop|restart|reload>"
-       ;;
-esac