summaryrefslogtreecommitdiff
path: root/packages/busybox
diff options
context:
space:
mode:
Diffstat (limited to 'packages/busybox')
-rw-r--r--packages/busybox/busybox-1.00/ramses/defconfig12
-rw-r--r--packages/busybox/files/syslog10
-rw-r--r--packages/busybox/files/syslog.conf9
3 files changed, 20 insertions, 11 deletions
diff --git a/packages/busybox/busybox-1.00/ramses/defconfig b/packages/busybox/busybox-1.00/ramses/defconfig
index 30da7d82e1..94f175b5a3 100644
--- a/packages/busybox/busybox-1.00/ramses/defconfig
+++ b/packages/busybox/busybox-1.00/ramses/defconfig
@@ -15,9 +15,9 @@ CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
CONFIG_FEATURE_DEVFS=y
CONFIG_FEATURE_DEVPTS=y
# CONFIG_FEATURE_CLEAN_UP is not set
-CONFIG_FEATURE_SUID=y
-CONFIG_FEATURE_SUID_CONFIG=y
-CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
+# CONFIG_FEATURE_SUID is not set
+# CONFIG_FEATURE_SUID_CONFIG is not set
+# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
# CONFIG_SELINUX is not set
#
@@ -195,7 +195,7 @@ CONFIG_SETKEYCODES=y
CONFIG_MKTEMP=y
# CONFIG_PIPE_PROGRESS is not set
CONFIG_READLINK=y
-# CONFIG_FEATURE_READLINK_FOLLOW is not set
+CONFIG_FEATURE_READLINK_FOLLOW=y
CONFIG_RUN_PARTS=y
CONFIG_START_STOP_DAEMON=y
CONFIG_WHICH=y
@@ -345,7 +345,7 @@ CONFIG_FEATURE_FANCY_PING=y
CONFIG_ROUTE=y
CONFIG_TELNET=y
# CONFIG_FEATURE_TELNET_TTYPE is not set
-CONFIG_FEATURE_TELNET_AUTOLOGIN=y
+# CONFIG_FEATURE_TELNET_AUTOLOGIN is not set
# CONFIG_TELNETD is not set
# CONFIG_TFTP is not set
CONFIG_TRACEROUTE=y
@@ -370,7 +370,7 @@ CONFIG_FEATURE_UDHCP_SYSLOG=y
CONFIG_FREE=y
CONFIG_KILL=y
CONFIG_KILLALL=y
-CONFIG_PIDOF=y
+# CONFIG_PIDOF is not set
CONFIG_PS=y
CONFIG_RENICE=y
CONFIG_TOP=y
diff --git a/packages/busybox/files/syslog b/packages/busybox/files/syslog
index 44698c5ce2..a999565e84 100644
--- a/packages/busybox/files/syslog
+++ b/packages/busybox/files/syslog
@@ -10,10 +10,10 @@ if [ -f /etc/syslog.conf ]; then
LOG_LOCAL=0
LOG_REMOTE=0
for D in $DESTINATION; do
- if [ "$D" == "buffer" ]; then
+ if [ "$D" = "buffer" ]; then
SYSLOG_ARGS="$SYSLOG_ARGS -C $BUFFERSIZE"
LOG_LOCAL=1
- elif [ "$D" == "file" ]; then
+ elif [ "$D" = "file" ]; then
if [ -n "$LOGFILE" ]; then
SYSLOG_ARGS="$SYSLOG_ARGS -O $LOGFILE"
fi
@@ -24,18 +24,18 @@ if [ -f /etc/syslog.conf ]; then
SYSLOG_ARGS="$SYSLOG_ARGS -b $ROTATEGENS"
fi
LOCAL=0
- elif [ "$D" == "remote" ]; then
+ elif [ "$D" = "remote" ]; then
SYSLOG_ARGS="$SYSLOG_ARGS -R $REMOTE"
LOG_REMOTE=1
fi
done
- if (( $LOG_LOCAL && $LOG_REMOTE )); then
+ 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
+ if [ "$REDUCE" = "yes" ]; then
SYSLOG_ARGS="$SYSLOG_ARGS -S"
fi
else
diff --git a/packages/busybox/files/syslog.conf b/packages/busybox/files/syslog.conf
index e69de29bb2..e2a2d58412 100644
--- a/packages/busybox/files/syslog.conf
+++ b/packages/busybox/files/syslog.conf
@@ -0,0 +1,9 @@
+DESTINATION="buffer" # log destinations (buffer file remote)
+MARKINT=20 # intervall between --mark-- entries
+LOGFILE=/var/log/messages # where to log (file)
+REMOTE=loghost:514 # where to log (syslog remote)
+REDUCE=no # reduce-size logging
+ROTATESIZE=0 # rotate log if grown beyond X [kByte]
+ROTATEGENS=3 # keep X generations of rotated logs
+BUFFERSIZE=64 # size of circular buffer [kByte]
+FOREGROUND=no # run in foreground (don't use!)