summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/functions10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions
index 0648701..588e324 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -304,6 +304,12 @@ configure_networking()
;;
esac
- # source relevant ipconfig output
- . /tmp/net-${DEVICE}.conf
+ # source ipconfig output
+ if [ -n "${DEVICE}" ]; then
+ # source specific bootdevice
+ . /tmp/net-${DEVICE}.conf
+ else
+ # source any interface as not exaclty specified
+ . /tmp/net-*.conf
+ fi
}