From 360ef2a994bf5056d91ae02e9eb51bae93caa0ff Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 23 Dec 2008 17:46:41 +0200 Subject: [PATCH] init: changed rc.trymount to not remount --- initramfs/etc_rc.d_rc.trymount.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/initramfs/etc_rc.d_rc.trymount.sh b/initramfs/etc_rc.d_rc.trymount.sh index c35ca98..fcdb27b 100644 --- a/initramfs/etc_rc.d_rc.trymount.sh +++ b/initramfs/etc_rc.d_rc.trymount.sh @@ -13,14 +13,14 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -. /etc/rc.d/functions.in . /etc/conf/idunn if grep -q "^[^ ]* $rootfs " /proc/mounts; then - title "Remounting $rootfs as $root_mode." - check mount -o remount,$root_mode $rootfs - status + # alredy mounted + error=0 elif [ -n "$root" ]; then + . /etc/rc.d/functions.in + title "Mouting $root at $rootfs." check /lib/udev/vol_id "$root" > /tmp/vol_id.$$ . /tmp/vol_id.$$ @@ -37,5 +37,4 @@ elif [ -n "$root" ]; then else error=1 fi - exit ${error:-0}