summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/rc.sysinit
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2005-07-15 09:43:41 +0000
committerMystery Man <unknown@mandriva.org>2005-07-15 09:43:41 +0000
commitd3d450b0b2a7633c39bcce37a594f241f3e46211 (patch)
tree519169fee33e0ba0d8d703dc26bce62e2e5b5dc6 /rescue/tree/etc/rc.sysinit
parentd2ce60d6be52cb011e7f05e54e5ec121e93c358e (diff)
downloaddrakx-d3d450b0b2a7633c39bcce37a594f241f3e46211.tar
drakx-d3d450b0b2a7633c39bcce37a594f241f3e46211.tar.gz
drakx-d3d450b0b2a7633c39bcce37a594f241f3e46211.tar.bz2
drakx-d3d450b0b2a7633c39bcce37a594f241f3e46211.tar.xz
drakx-d3d450b0b2a7633c39bcce37a594f241f3e46211.zip
This commit was manufactured by cvs2svn to create tagV10_3_0_35mdk
'V10_3_0_35mdk'.
Diffstat (limited to 'rescue/tree/etc/rc.sysinit')
-rwxr-xr-xrescue/tree/etc/rc.sysinit62
1 files changed, 0 insertions, 62 deletions
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
deleted file mode 100755
index e228c91ba..000000000
--- a/rescue/tree/etc/rc.sysinit
+++ /dev/null
@@ -1,62 +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 "Remounting root filesystem in read-write mode" mount -n -o remount,rw /
-
-ln -s /tmp/stage2/etc/* /etc 2>/dev/null
-
-rm -f /dev ; cp -a /tmp/stage2/dev /dev
-
-mkdir /mnt /var/log
-
-mkdir /proc
-action "Mounting proc filesystem" mount -n -t proc /proc /proc
-
-if grep -q sysfs /proc/filesystems; then
- mkdir /sys
- action "Mounting sysfs on /sys" mount -t sysfs none /sys
-fi
-
->/etc/mtab
-mount -f /
-mount -f /proc
-
-#- free up stage1 memory
-umount /stage1/proc/bus/usb /stage1/proc /stage1
-
-# 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
-
-/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