summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/rc.sysinit
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-10-24 22:34:01 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-10-24 22:34:01 +0000
commit64c33263f2f13793befe537fb15b2e995e534743 (patch)
tree73ac0d253ddc82c3c433a2b9d26786dadaec5a8c /rescue/tree/etc/rc.sysinit
parentcf5c1d9c23afbe441d0d94868253348f3c71bf9b (diff)
downloaddrakx-64c33263f2f13793befe537fb15b2e995e534743.tar
drakx-64c33263f2f13793befe537fb15b2e995e534743.tar.gz
drakx-64c33263f2f13793befe537fb15b2e995e534743.tar.bz2
drakx-64c33263f2f13793befe537fb15b2e995e534743.tar.xz
drakx-64c33263f2f13793befe537fb15b2e995e534743.zip
- add a GUI to the rescue
- provide guessmounts with better efficiency and output, go to console, and reboot - provide install_bootloader which runs lilo from /mnt if it seems safe - add lsparts to rescue, which prints partitions with detected types
Diffstat (limited to 'rescue/tree/etc/rc.sysinit')
-rwxr-xr-xrescue/tree/etc/rc.sysinit9
1 files changed, 2 insertions, 7 deletions
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
index c33983cca..444e0c064 100755
--- a/rescue/tree/etc/rc.sysinit
+++ b/rescue/tree/etc/rc.sysinit
@@ -41,11 +41,6 @@ grep -q oem /proc/cmdline && exec /etc/oem -f
/sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0
/sbin/route add 127.0.0.1 lo
-if ! grep -q noguessmounts /proc/cmdline; then
- echo "I will try now to guess your mountpoints;"
- echo -e "If any problems, reboot and enter \\033[1;37mrescue noguessmounts\\033[0;39m to disable this."
- echo ""
- guessmounts
- echo "Press <enter> to continue"
- read
+if ! grep -q expert /proc/cmdline; then
+ rescue-gui
fi