From 66f7acdc789099114945f08c92c9957f7e536f2d Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sun, 5 Jun 2011 00:18:10 +0200 Subject: loopback: support separate /usr The move to iproute2 broke the setup of loopback for users having a separate /usr, as it was not monuted before /usr/bin/ip was called. Together with iprouet2-2.6.38-3, this fixes the problem by using /sbin/ip instead. Signed-off-by: Tom Gundersen --- rc.sysinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.sysinit b/rc.sysinit index c87e3dc..12ffa72 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -112,7 +112,7 @@ run_hook sysinit_udevsettled # bring up the loopback interface [[ -d /sys/class/net/lo ]] && \ - status "Bringing up loopback interface" /usr/sbin/ip link set up dev lo + status "Bringing up loopback interface" /sbin/ip link set up dev lo # FakeRAID devices detection if [[ $USEDMRAID =~ yes|YES && -x /sbin/dmraid ]]; then -- cgit v1.2.3