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
This commit is contained in:
kueller 2010-05-01 11:42:39 +00:00
parent 380414212f
commit d77f5c8ef2
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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