diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-06-25 13:46:09 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-06-25 13:46:36 -0400 |
commit | fc9ce46483fc4df673c4f2f23eeeb405d1040c4b (patch) | |
tree | 2bc6ed2865c8f26a6773eb50f3ced6cba00f4990 /network | |
parent | 713213c19395fd1541cdaa025ac5f977d062108a (diff) |
network: don't warn for deprecation with no settings
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
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 |