diff options
author | Phil Blundell <philb@gnu.org> | 2004-06-24 14:15:47 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-06-24 14:15:47 +0000 |
commit | 94cc4b063bbe3a667e452cc9ae449a97bb4d5c24 (patch) | |
tree | 4aea90348fcf8e7a390400d38dac0c02111b9f18 /busybox | |
parent | 1bc494ef23cff9cee4d015fd2a1102b4e2ebf0a3 (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into stealth.(none):/home/pb/oe/oe-packages
2004/06/24 15:15:32+01:00 (none)!pb
need to use -n rather than -x with start-stop-daemon
BKrev: 40dae213GxEl_L2pRr-3FZCa8MEriQ
Diffstat (limited to 'busybox')
-rw-r--r-- | busybox/busybox-1.00-pre10/syslog | 34 | ||||
-rw-r--r-- | busybox/busybox_1.00-pre10.oe | 2 |
2 files changed, 35 insertions, 1 deletions
diff --git a/busybox/busybox-1.00-pre10/syslog b/busybox/busybox-1.00-pre10/syslog index e69de29bb2..5c46a28a9a 100644 --- a/busybox/busybox-1.00-pre10/syslog +++ b/busybox/busybox-1.00-pre10/syslog @@ -0,0 +1,34 @@ +#! /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 diff --git a/busybox/busybox_1.00-pre10.oe b/busybox/busybox_1.00-pre10.oe index f32469cf21..c64a400bff 100644 --- a/busybox/busybox_1.00-pre10.oe +++ b/busybox/busybox_1.00-pre10.oe @@ -1,4 +1,4 @@ -PR = "r3" +PR = "r4" LICENSE = "GPL" DESCRIPTION = "BusyBox version ${PV}. \ BusyBox combines tiny versions of many common UNIX utilities into a single \ |