summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/rc.sysinit
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2003-03-07 07:55:17 +0000
committerMystery Man <unknown@mandriva.org>2003-03-07 07:55:17 +0000
commit928545d04299e6beb49f04c39380644ab58848bf (patch)
tree6f8d47c502c34a245b234c0ab30ab166079a89a7 /rescue/tree/etc/rc.sysinit
parent29944326bf1e6c63afa074cfadd3ffbefca309c8 (diff)
downloaddrakx-928545d04299e6beb49f04c39380644ab58848bf.tar
drakx-928545d04299e6beb49f04c39380644ab58848bf.tar.gz
drakx-928545d04299e6beb49f04c39380644ab58848bf.tar.bz2
drakx-928545d04299e6beb49f04c39380644ab58848bf.tar.xz
drakx-928545d04299e6beb49f04c39380644ab58848bf.zip
This commit was manufactured by cvs2svn to create tag 'V9_1_17mdk'.V9_1_17mdk
Diffstat (limited to 'rescue/tree/etc/rc.sysinit')
-rwxr-xr-xrescue/tree/etc/rc.sysinit48
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 e32a23b3e..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 ext3
-load reiserfs
-load xfs
-load jfs
-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
-
-grep -q noauto /proc/cmdline || drvinst SERIAL_USB
-
-if ! grep -q expert /proc/cmdline; then
- rescue-gui
-fi