aboutsummaryrefslogtreecommitdiff
path: root/init.d/network.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-04-25 18:02:28 +0000
committerRoy Marples <roy@marples.name>2009-04-25 18:02:28 +0000
commitbd6bb932dfbc6829f44dca3fc19366d8751ab06d (patch)
treed8fd1d3fe2624fe0df8742b295ca0e894e5cfac3 /init.d/network.in
parentf51d8d0b7d8ee124b09445826059f20a7f3951be (diff)
Don't report final eends for interfaces as they make no sense.
Diffstat (limited to 'init.d/network.in')
-rw-r--r--init.d/network.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/init.d/network.in b/init.d/network.in
index 98d4d295..fbfd3b22 100644
--- a/init.d/network.in
+++ b/init.d/network.in
@@ -192,7 +192,7 @@ start()
done
[ -n "$cf" -o -n "$upcmd" -o \
-f /etc/ifup."$int" -o -f "$cf" ] || continue
- vebegin "$int"
+ veinfo "$int"
case "$func" in
ip) func=runip;;
esac
@@ -219,7 +219,6 @@ start()
esac
done
eoutdent
- veend $? || cr=1
done
eoutdent
eend $cr
@@ -239,7 +238,7 @@ start()
stop()
{
- local int= intv= cmd= downcmd=
+ local int= intv= cmd= downcmd= r=
einfo "Stopping network"
routeflush
eindent
@@ -252,11 +251,10 @@ stop()
-f /etc/ifconfig."$int" -o \
-n "$downcmd" -o -f /etc/ifdown."$int" ];
then
- vebegin "$int"
+ veinfo "$int"
runargs /etc/ifdown."$int" "$downcmd"
ifconfig "$int" down 2>/dev/null
ifconfig "$int" destroy 2>/dev/null
- veend $?
fi
done
eoutdent