diff --git a/etc/init/checkfs.conf b/etc/init/checkfs.conf index fd1ce6b..84c1761 100644 --- a/etc/init/checkfs.conf +++ b/etc/init/checkfs.conf @@ -9,9 +9,7 @@ console output script echo "running checkfs" source /etc/init/functions - if [ -f /fastboot ]; then - echo "Fast boot, no file system check" - else + if [ ! -f /fastboot ]; then /bin/mount -n -o remount,ro / status_message "change / to ro ..." if [ $? = 0 ]; then diff --git a/etc/init/maccfg.conf b/etc/init/maccfg.conf index e67aa03..74e6122 100644 --- a/etc/init/maccfg.conf +++ b/etc/init/maccfg.conf @@ -9,9 +9,9 @@ console output script if ls /etc/mactab* &>/dev/null; then - echo "Setting up mac adresses" for maccfg in /etc/mactab*; do nameif -c $maccfg >/dev/null done + status_message "Setup of mac adresses" fi end script diff --git a/etc/init/mountfs.conf b/etc/init/mountfs.conf index cd57cbd..cde7333 100644 --- a/etc/init/mountfs.conf +++ b/etc/init/mountfs.conf @@ -8,15 +8,13 @@ start on stopped checkfs console output script source /etc/init/functions - echo -n "Remounting rootfs in rw mode..." /bin/mount -n -o remount,rw / - evaluate_retval + status_message "Remount of / to rw" echo >/etc/mtab /bin/mount -f -o remount,rw / /bin/rm -f /fastboot /forcefsck - echo -n "Activating swap..." /sbin/swapon -a - evaluate_retval + status_message "Swap Aktivated" for i in `sed -e "/^#/d" /etc/fstab|awk '{print $2}'`; do MOUNTPOINT=$i FILESYSTEM=`awk '{if( $2 == "'$MOUNTPOINT'") print $3}' /etc/fstab` @@ -26,11 +24,11 @@ script && [ ! "$MOUNTPOINT" == "/" ] \ && [ ! "$DEVICE" == "none" ]; then if [ -d $MOUNTPOINT ]; then - echo -n "Mounting $MOUNTPOINT" mount $MOUNTPOINT - evaluate_retval + status_message "Mount of $MOUNTPOINT" else - echo "Mountpoint $MOUNTPOINT not existing!" + echo -n "Mountpoint $MOUNTPOINT not existing!" + evaluate_retval fi fi done diff --git a/etc/init/syslogd.conf b/etc/init/syslogd.conf index dd21a0c..28485cb 100644 --- a/etc/init/syslogd.conf +++ b/etc/init/syslogd.conf @@ -6,10 +6,7 @@ emits none special start on ( runlevel [12345] and (stopped routing)) stop on (runlevel [S06] and stopping udev) -console output -pre-start script - echo "Starting syslog" -end script +console null -exec /usr/sbin/syslogd -n -m 0 respawn +exec /usr/sbin/syslogd -n -m 0 diff --git a/etc/init/tty6.conf b/etc/init/tty6.conf index c46d546..87261cd 100644 --- a/etc/init/tty6.conf +++ b/etc/init/tty6.conf @@ -4,7 +4,7 @@ version 1.0 emits none special start on ( runlevel [2345] and (started udev)) -#stop on ( runlevel [S016] and (stopping udev)) +stop on ( runlevel [S016] and (stopping udev)) respawn exec /sbin/agetty /dev/tty6 9600 diff --git a/etc/init/udev.conf b/etc/init/udev.conf index 3d40c0b..2afef18 100644 --- a/etc/init/udev.conf +++ b/etc/init/udev.conf @@ -24,14 +24,13 @@ pre-start script cp --preserve=all --recursive --remove-destination /lib/udev/devices/* /dev status_message "udev: Static entries copied..." fi - /bin/mkdir /dev/shm + /bin/mkdir -p /dev/shm + /bin/mkdir -p /dev/pts /bin/mount -n -t tmpfs -o mode=1755 none /dev/shm - status_message "udev: generation of /dev/shm done" /bin/mknod /dev/null c 1 3 /bin/chmod 666 /dev/null /bin/mknod /dev/console c 5 1 - status_message "udev: permissions on /dev/shm corrected..." - echo "udev:pre-start end with rc $?" + status_message "udev prestart ready" end script respawn diff --git a/etc/init/umountfs.conf b/etc/init/umountfs.conf index 87c41f0..33458c7 100644 --- a/etc/init/umountfs.conf +++ b/etc/init/umountfs.conf @@ -12,11 +12,9 @@ console none script source /etc/init/functions - echo -n "Deactivating swap..." /sbin/swapoff -a - evaluate_retval + status_message "swap deaktivated..." - echo -n "Unmounting file systems..." /bin/umount -a -r - evaluate_retval + status_message "All File Systems umounted..." end script