summaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-06-05 00:18:10 +0200
committerTom Gundersen <teg@jklm.no>2011-06-05 00:18:10 +0200
commit66f7acdc789099114945f08c92c9957f7e536f2d (patch)
tree34a04c841be8f3090cd23d819ec5155860e852ab /rc.sysinit
parent6119386d3664ebbedc89cf43f1e1d4e62f71da0c (diff)
loopback: support separate /usr2011.06.3
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 <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 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