projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branche make
[hvlinux.git]
/
stage2
/
bootscripts
/
ifup
diff --git
a/stage2/bootscripts/ifup
b/stage2/bootscripts/ifup
index
4224c47
..
b8fc5e8
100755
(executable)
--- a/
stage2/bootscripts/ifup
+++ b/
stage2/bootscripts/ifup
@@
-23,6
+23,12
@@
check_brctl()
fi
}
fi
}
+# First make sure interface is available
+if ! ip link show ${DEVICE} ; then
+ echo "Interface ${DEVICE} not available"
+ exit ${EXIT_CODE_WARNING}
+fi
+
# Determining if the interface is a bridge:
if [ "x${BRIDGE}" = "xyes" ]; then
check_brctl
# Determining if the interface is a bridge:
if [ "x${BRIDGE}" = "xyes" ]; then
check_brctl