diff options
Diffstat (limited to 'network')
-rwxr-xr-x | network | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9,7 +9,8 @@ done # helper function to determine if legacy network support is needed need_legacy() { - if [[ -z $interface ]]; then + # complain when `interface' is unset and `INTERFACES' has profiles enabled + if [[ -z $interface && ${INTERFACES[@]##!*} ]]; then return 0 # need legacy fi |