diff --git a/etc/init/checkvar.conf b/etc/init/checkvar.conf index eaa2c69..5fc10e4 100644 --- a/etc/init/checkvar.conf +++ b/etc/init/checkvar.conf @@ -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 diff --git a/etc/init/mountfs.conf b/etc/init/mountfs.conf index 6faa9ae..3d52ca4 100644 --- a/etc/init/mountfs.conf +++ b/etc/init/mountfs.conf @@ -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