From 7b3da68aeba9ca29304202e72dc03ae8216e73be Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Sep 2012 11:22:19 +0000 Subject: simplify bringing up local loop interface (pok, mdv) --- rescue/NEWS | 1 + rescue/tree/etc/rc.sysinit | 4 +--- 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 -- cgit v1.2.1