From 805d71fe509e112341badabc8522d71009ab148f Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Mon, 26 Jul 2021 09:07:57 -0500 Subject: [PATCH] optionally run iiab-network when wifi is present --- iiab | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iiab b/iiab index 5891275c..89b83a4e 100755 --- a/iiab +++ b/iiab @@ -429,6 +429,11 @@ fi touch $FLAGDIR/iiab-complete +if ! [[ $(ls -la /sys/class/net/*/phy80211 | awk -F / '{print $5}' | wc ) == 0 ]]; then + cd /opt/iiab/iiab + ./iiab-network +fi + # M. Educate Implementers prior to rebooting! echo -e "\n\n ┌───────────────────────────────────────────────────────────┐" echo -e " │ │"