aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-04-28 22:42:11 -0400
committerTom Gundersen <teg@jklm.no>2011-05-22 18:46:04 +0200
commita3314c769768d8c40b46767d26f9783d4f359358 (patch)
tree336b66a4585fe840febcd50304c490f0beee129d /rc.sysinit
parent68c61ed4ce2eddf29c4f047133406d72162fd396 (diff)
downloadinitscripts-a3314c769768d8c40b46767d26f9783d4f359358.tar.xz
network: deprecate net-tools, add iproute2 support
Provide large warnings when net-tools functionality is used. Add documentation in rc.conf for the new iproute2 based config. Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 5a21539..9d30da2 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -115,7 +115,7 @@ run_hook sysinit_udevsettled
# bring up the loopback interface
[[ -d /sys/class/net/lo ]] && \
- status "Bringing up loopback interface" /sbin/ifconfig lo 127.0.0.1 up
+ status "Bringing up loopback interface" /usr/sbin/ip link set up dev lo
# FakeRAID devices detection
if [[ $USEDMRAID =~ yes|YES && -x /sbin/dmraid ]]; then