diff options
author | Mystery Man <unknown@mandriva.org> | 2001-08-07 17:40:36 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2001-08-07 17:40:36 +0000 |
commit | 068d599562888a36a50e5bbdeb8b70f83fa7c287 (patch) | |
tree | 18f5eed8353b3af647412875d438b55ef8c07670 /rescue/tree/etc/rc.sysinit | |
parent | be838931607e1ab14c8c699e20dd807b55579f7b (diff) | |
download | drakx-topic/v_webmin_0_87.tar drakx-topic/v_webmin_0_87.tar.gz drakx-topic/v_webmin_0_87.tar.bz2 drakx-topic/v_webmin_0_87.tar.xz drakx-topic/v_webmin_0_87.zip |
This commit was manufactured by cvs2svn to create branchtopic/v_webmin_0_87
'v_webmin_0_87'.
Diffstat (limited to 'rescue/tree/etc/rc.sysinit')
-rwxr-xr-x | rescue/tree/etc/rc.sysinit | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit deleted file mode 100755 index 2c36c31c5..000000000 --- a/rescue/tree/etc/rc.sysinit +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -action() { echo $1; shift; $*; } - -export PATH=/bin:/sbin:/usr/bin:/usr/sbin - -echo -e "\t\t\tWelcome to \\033[1;36mMandrake\\033[0;39m Linux" - -action "Mounting proc filesystem" mount -n -t proc /proc /proc -action "Remounting root filesystem in read-write mode" mount -n -o remount,rw / - ->/etc/mtab -mount -f / -mount -f /proc - -# Set the hostname. -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 -load ide-disk -load ide-cd -load floppy -load af_packet -load isofs -load vfat -load reiserfs -load loop -load sd_mod -load sr_mod - -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 with \\033[1;37mrescue noguessmounts\\033[0;39m to disable this." - echo "" - guessmounts - echo "Press <enter> to continue" - read -fi |