|
@@ -239,10 +239,11 @@ if [ -f $CONFIGURATION_LOCAL_FILE ] ; then
|
|
|
set -u
|
|
set -u
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-if ! /usr/sbin/ifup --no-act $NETWORK_IF > /dev/null 2>&1
|
|
|
|
|
|
|
+# Should I disable this ?
|
|
|
|
|
+# I think I should... but will the
|
|
|
|
|
+if ! ip link show $NETWORK_IF > /dev/null 2>&1
|
|
|
then
|
|
then
|
|
|
- echo "Network interface '$NETWORK_IF' is not present or configured" >&2
|
|
|
|
|
|
|
+ echo "Network interface '$NETWORK_IF' is not present" >&2
|
|
|
exit 2
|
|
exit 2
|
|
|
fi
|
|
fi
|
|
|
|
|
|