|
@ -13,14 +13,14 @@ |
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
. /etc/rc.d/functions.in |
|
|
|
|
|
. /etc/conf/idunn |
|
|
. /etc/conf/idunn |
|
|
|
|
|
|
|
|
if grep -q "^[^ ]* $rootfs " /proc/mounts; then |
|
|
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 |
|
|
elif [ -n "$root" ]; then |
|
|
|
|
|
. /etc/rc.d/functions.in |
|
|
|
|
|
|
|
|
title "Mouting $root at $rootfs." |
|
|
title "Mouting $root at $rootfs." |
|
|
check /lib/udev/vol_id "$root" > /tmp/vol_id.$$ |
|
|
check /lib/udev/vol_id "$root" > /tmp/vol_id.$$ |
|
|
. /tmp/vol_id.$$ |
|
|
. /tmp/vol_id.$$ |
|
@ -37,5 +37,4 @@ elif [ -n "$root" ]; then |
|
|
else |
|
|
else |
|
|
error=1 |
|
|
error=1 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
exit ${error:-0} |
|
|
exit ${error:-0} |