Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove wireless tools dependency from all user space variants #7314

Merged
merged 3 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion config/cli/bullseye/main/packages
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,4 @@ u-boot-tools
usbutils
vlan
wget
wireless-tools
wpasupplicant
1 change: 0 additions & 1 deletion config/cli/common/main/packages
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,5 @@ tzdata
u-boot-tools
usbutils
wget
wireless-tools
wireguard-tools
wpasupplicant
1 change: 0 additions & 1 deletion config/cli/jammy/main/packages
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,4 @@ u-boot-tools
usbutils
vlan
wget
wireless-tools
wpasupplicant
4 changes: 2 additions & 2 deletions packages/bsp/99disable-power-management
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
case "$2" in
up) /sbin/iwconfig $1 power off || true ;;
down) /sbin/iwconfig $1 power on || true ;;
up) iw dev $1 set power_save off || true ;;
down) iw dev $1 set power_save on || true ;;
esac
2 changes: 1 addition & 1 deletion packages/bsp/common/usr/lib/armbian/armbian-firstlogin
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ set_timezone_and_locales() {
while [[ ${scanning} -lt 3 ]]; do
sleep 0.5
scanning=$(( scanning + 1 ))
readarray -t ARRAY < <(iwlist ${WIFI_DEVICE} scanning 2> /dev/null | egrep 'ESSID' | sed 's/^[ \t]*//' | sed 's/"//g' | sed 's/ESSID://' | sed '/^$/d' | sort | uniq | awk 'BEGIN{FS=OFS=","} {$NF=++count OFS $NF} 1')
readarray -t ARRAY < <(iw dev ${WIFI_DEVICE} scan 2> /dev/null | egrep 'SSID' | sed 's/^[ \t]*//' | sed 's/"//g' | sed 's/SSID: //' | sed '/^$/d' | sort | uniq | awk 'BEGIN{FS=OFS=","} {$NF=++count OFS $NF} 1')
if [[ ${#ARRAY[@]} -gt 0 ]]; then broken=0; break; fi
done
# wifi can also fail
Expand Down