Das rechtzeitige Aufraeumen der /etc/mtab funktioniert jetzt wieder korrekt^

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstart@5832 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2010-10-04 17:03:03 +00:00
parent 27238aab6b
commit 1838f1085b
2 changed files with 5 additions and 2 deletions

View File

@ -10,6 +10,10 @@ console output
script
echo "Starting checkvar script"
source /etc/init/functions
mount -o remount,rw /
rm /etc/mtab
touch /etc/mtab
mount -o remount,ro /
mount -t proc none /proc
status_message "/proc mounted"
if mount|grep /dev/root|grep nfs &>/dev/null; then

View File

@ -10,8 +10,6 @@ script
source /etc/init/functions
/bin/mount -n -o remount,rw /
status_message "Remount of / to rw"
echo >/etc/mtab
/bin/mount -f -o remount,rw /
/bin/rm -f /fastboot /forcefsck
/sbin/swapon -a
status_message "Swap Aktivated"
@ -31,4 +29,5 @@ script
fi
fi
done
/sbin/ldconfig
end script