diff --git a/rootfs/etc/init.d/S01syslogd b/rootfs/etc/init.d/S01syslogd index 15006bc..d331993 100755 --- a/rootfs/etc/init.d/S01syslogd +++ b/rootfs/etc/init.d/S01syslogd @@ -13,7 +13,7 @@ SYSLOGD_ARGS="" start() { printf 'Starting %s: ' "$DAEMON" # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/sbin/$DAEMON" \ + start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/bin/$DAEMON" \ -- -n $SYSLOGD_ARGS status=$? if [ "$status" -eq 0 ]; then diff --git a/rootfs/etc/init.d/S02klogd b/rootfs/etc/init.d/S02klogd index 0677e1e..85246f1 100755 --- a/rootfs/etc/init.d/S02klogd +++ b/rootfs/etc/init.d/S02klogd @@ -13,7 +13,7 @@ KLOGD_ARGS="" start() { printf 'Starting %s: ' "$DAEMON" # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/sbin/$DAEMON" \ + start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/bin/$DAEMON" \ -- -n $KLOGD_ARGS status=$? if [ "$status" -eq 0 ]; then diff --git a/rootfs/etc/inittab b/rootfs/etc/inittab index 8a598f2..56b8725 100644 --- a/rootfs/etc/inittab +++ b/rootfs/etc/inittab @@ -13,6 +13,7 @@ ::sysinit:/bin/mount -t sysfs sysfs /sys ::sysinit:/bin/mount -t proc proc /proc ::sysinit:/bin/mount -o remount,rw / +::sysinit:/bin/mkdir /var/log null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout