diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/packages/busybox/files/syslog | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | openembedded-core-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz openembedded-core-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.bz2 openembedded-core-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.xz openembedded-core-29d6678fd546377459ef75cf54abeef5b969b5cf.zip |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/busybox/files/syslog')
-rw-r--r-- | meta/packages/busybox/files/syslog | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/meta/packages/busybox/files/syslog b/meta/packages/busybox/files/syslog deleted file mode 100644 index 9edaa1505..000000000 --- a/meta/packages/busybox/files/syslog +++ /dev/null @@ -1,74 +0,0 @@ -#! /bin/sh -### BEGIN INIT INFO -# Provides: sysklogd -# Required-Start: $remote_fs $time -# Required-Stop: $remote_fs $time -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: System logger -### END INIT INFO - -set -e - -if [ -f /etc/syslog.conf ]; then - . /etc/syslog.conf - LOG_LOCAL=0 - LOG_REMOTE=0 - for D in $DESTINATION; do - if [ "$D" = "buffer" ]; then - SYSLOG_ARGS="$SYSLOG_ARGS -C$BUFFERSIZE" - LOG_LOCAL=1 - elif [ "$D" = "file" ]; then - if [ -n "$LOGFILE" ]; then - SYSLOG_ARGS="$SYSLOG_ARGS -O $LOGFILE" - fi - if [ -n "$ROTATESIZE" ]; then - SYSLOG_ARGS="$SYSLOG_ARGS -s $ROTATESIZE" - fi - if [ -n "$ROTATEGENS" ]; then - SYSLOG_ARGS="$SYSLOG_ARGS -b $ROTATEGENS" - fi - LOCAL=0 - elif [ "$D" = "remote" ]; then - SYSLOG_ARGS="$SYSLOG_ARGS -R $REMOTE" - LOG_REMOTE=1 - fi - done - if [ "$LOG_LOCAL" = "1" -a "$LOG_REMOTE" = "1" ]; then - SYSLOG_ARGS="$SYSLOG_ARGS -L" - fi - if [ -n "$MARKINT" ]; then - SYSLOG_ARGS="$SYSLOG_ARGS -m $MARKINT" - fi - if [ "$REDUCE" = "yes" ]; then - SYSLOG_ARGS="$SYSLOG_ARGS -S" - fi -else - # default: log to 16K shm circular buffer - SYSLOG_ARGS="-C" -fi - -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" - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "Usage: syslog { start | stop | restart }" >&2 - exit 1 - ;; -esac - -exit 0 |