diff --git a/etc/init/hostname.conf b/etc/init/hostname.conf index decb9a5..da91935 100644 --- a/etc/init/hostname.conf +++ b/etc/init/hostname.conf @@ -14,4 +14,5 @@ script sed -e "s/127\.0\.0\.1.*$/127.0.0.1 localhost ViitorLinux_install/" /etc/hosts >/tmp/hosts mv /tmp/hosts /var/etc/hosts fi + hostname ViitorInstall end script diff --git a/etc/init/mountfs.conf b/etc/init/mountfs.conf index fb9744b..d08d99d 100644 --- a/etc/init/mountfs.conf +++ b/etc/init/mountfs.conf @@ -7,6 +7,7 @@ start on stopped checkfs console output script + source /etc/init/functions for i in `sed -e "/^#/d" /etc/fstab|awk '{print $2}'`; do MOUNTPOINT=$i FILESYSTEM=`awk '{if( $2 == "'$MOUNTPOINT'") print $3}' /etc/fstab` @@ -16,9 +17,8 @@ script && [ ! "$MOUNTPOINT" == "/" ] \ && [ ! "$DEVICE" == "none" ]; then if [ -d $MOUNTPOINT ]; then - echo -n "Mounting $MOUNTPOINT" mount $MOUNTPOINT - evaluate_retval + status_message "$MOUNTPOINT mounted" else echo "Mountpoint $MOUNTPOINT not existing!" fi