summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-03 11:22:19 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-03 11:22:19 +0000
commit7b3da68aeba9ca29304202e72dc03ae8216e73be (patch)
treecb88349238439e45b1cf1c3c74099029fb81f650 /rescue
parentff416a41b91c7be4db1bc6d34a64ca1d801d60a1 (diff)
downloaddrakx-7b3da68aeba9ca29304202e72dc03ae8216e73be.tar
drakx-7b3da68aeba9ca29304202e72dc03ae8216e73be.tar.gz
drakx-7b3da68aeba9ca29304202e72dc03ae8216e73be.tar.bz2
drakx-7b3da68aeba9ca29304202e72dc03ae8216e73be.tar.xz
drakx-7b3da68aeba9ca29304202e72dc03ae8216e73be.zip
simplify bringing up local loop interface (pok, mdv)
Diffstat (limited to 'rescue')
-rw-r--r--rescue/NEWS1
-rwxr-xr-xrescue/tree/etc/rc.sysinit4
2 files changed, 2 insertions, 3 deletions
diff --git a/rescue/NEWS b/rescue/NEWS
index 8d512691e..e7fe71753 100644
--- a/rescue/NEWS
+++ b/rescue/NEWS
@@ -6,6 +6,7 @@
- preload load btrfs and nilfs2 too
- rely on stage1 for mounting /dev
- revert to "linux" terminfo
+- simplify bringing up local loop interface (pok, mdv)
- stop fixing the raid udev rule now that it has been fixed
Version 1.38 - 11 May 2012, by Thierry Vignaud
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
index 08fe55f07..f514f9f09 100755
--- a/rescue/tree/etc/rc.sysinit
+++ b/rescue/tree/etc/rc.sysinit
@@ -55,9 +55,7 @@ load loop
load sd_mod
load sr_mod
-echo "Setting local loop"
-/sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0
-/sbin/route add 127.0.0.1 lo
+action "Bringing up local loop interface" ifconfig lo up
# disable the weird echoprt in cooked mode for user interaction:
stty sane