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:
parent
27238aab6b
commit
1838f1085b
|
@ -10,6 +10,10 @@ console output
|
||||||
script
|
script
|
||||||
echo "Starting checkvar script"
|
echo "Starting checkvar script"
|
||||||
source /etc/init/functions
|
source /etc/init/functions
|
||||||
|
mount -o remount,rw /
|
||||||
|
rm /etc/mtab
|
||||||
|
touch /etc/mtab
|
||||||
|
mount -o remount,ro /
|
||||||
mount -t proc none /proc
|
mount -t proc none /proc
|
||||||
status_message "/proc mounted"
|
status_message "/proc mounted"
|
||||||
if mount|grep /dev/root|grep nfs &>/dev/null; then
|
if mount|grep /dev/root|grep nfs &>/dev/null; then
|
||||||
|
|
|
@ -10,8 +10,6 @@ script
|
||||||
source /etc/init/functions
|
source /etc/init/functions
|
||||||
/bin/mount -n -o remount,rw /
|
/bin/mount -n -o remount,rw /
|
||||||
status_message "Remount of / to rw"
|
status_message "Remount of / to rw"
|
||||||
echo >/etc/mtab
|
|
||||||
/bin/mount -f -o remount,rw /
|
|
||||||
/bin/rm -f /fastboot /forcefsck
|
/bin/rm -f /fastboot /forcefsck
|
||||||
/sbin/swapon -a
|
/sbin/swapon -a
|
||||||
status_message "Swap Aktivated"
|
status_message "Swap Aktivated"
|
||||||
|
@ -31,4 +29,5 @@ script
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
/sbin/ldconfig
|
||||||
end script
|
end script
|
||||||
|
|
Loading…
Reference in New Issue
Block a user