From d77f5c8ef21bc201dfc1a9bb033ae1f59392c097 Mon Sep 17 00:00:00 2001 From: kueller Date: Sat, 1 May 2010 11:42:39 +0000 Subject: [PATCH] mountfs verwendet jetzt status_message(). hostname wird korrekt gesetzt git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_cdboot@5606 504e572c-2e33-0410-9681-be2bf7408885 --- etc/init/hostname.conf | 1 + etc/init/mountfs.conf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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