summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-06-11 21:12:50 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-06-11 21:12:50 +0000
commitfa371367f838fb7dac00ff06e0e711ed68eb199e (patch)
tree43d6ce11626cc61f724547bf484fa77f02a0999b /rescue
parent59f7ce778f424104e1d0df70e7e53d39ec2e51a7 (diff)
downloaddrakx-backup-do-not-use-fa371367f838fb7dac00ff06e0e711ed68eb199e.tar
drakx-backup-do-not-use-fa371367f838fb7dac00ff06e0e711ed68eb199e.tar.gz
drakx-backup-do-not-use-fa371367f838fb7dac00ff06e0e711ed68eb199e.tar.bz2
drakx-backup-do-not-use-fa371367f838fb7dac00ff06e0e711ed68eb199e.tar.xz
drakx-backup-do-not-use-fa371367f838fb7dac00ff06e0e711ed68eb199e.zip
minor changes
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/tree/etc/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
index f31b4598d..3b2e4aebd 100755
--- a/rescue/tree/etc/rc.sysinit
+++ b/rescue/tree/etc/rc.sysinit
@@ -18,6 +18,7 @@ action "Setting hostname rescue" hostname rescue
echo rescue > /etc/HOSTNAME
# Loads common modules ( no kerneld :( )
+echo "Loading additional modules..."
load() { modprobe $* 2>/dev/null; }
load ide-mod
load ide-probe
@@ -37,8 +38,7 @@ 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
-grep -q noguessmounts /proc/cmdline
-if [ $? != 0 ]; then
+if ! grep -q noguessmounts /proc/cmdline; then
echo "I will try now to guess your mountpoints;"
echo -e "If any problems, reboot with \\033[1;37mrescue noguessmounts\\033[0;39m to disable this."
echo ""