summaryrefslogtreecommitdiff
path: root/busybox/busybox-1.00-rc2/syslog
diff options
context:
space:
mode:
Diffstat (limited to 'busybox/busybox-1.00-rc2/syslog')
-rw-r--r--busybox/busybox-1.00-rc2/syslog34
1 files changed, 0 insertions, 34 deletions
diff --git a/busybox/busybox-1.00-rc2/syslog b/busybox/busybox-1.00-rc2/syslog
deleted file mode 100644
index 5c46a28a9a..0000000000
--- a/busybox/busybox-1.00-rc2/syslog
+++ /dev/null
@@ -1,34 +0,0 @@
-#! /bin/sh
-#
-# syslog init.d script for busybox syslogd/klogd
-# Written by Robert Griebl <sandman@handhelds.org>
-#
-
-# log to remote host
-# SYSLOG_ARGS="-R remote.host"
-
-# log to 16K shm circular buffer
-SYSLOG_ARGS="-C"
-
-set -e
-
-case "$1" in
- start)
- echo -n "Starting syslogd/klogd: "
- start-stop-daemon -S -b -n syslogd -a /sbin/syslogd -- -n $SYSLOG_ARGS
- start-stop-daemon -S -b -n klogd -a /sbin/klogd -- -n
- echo "done"
- ;;
- stop)
- echo -n "Stopping syslogd/klogd: "
- start-stop-daemon -K -n syslogd
- start-stop-daemon -K -n klogd
- echo "done"
- ;;
- *)
- echo "Usage: syslog {start|stop}" >&2
- exit 1
- ;;
-esac
-
-exit 0