From a88ce7b965c1d4c03aac02c1c8be819cff0f9f6e Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 24 Dec 2022 01:58:59 +0100 Subject: mz-(router|ap): upgrade to openwrt 22.03.2 --- inventory/group_vars/accesspoints/vars.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'inventory/group_vars/accesspoints/vars.yml') diff --git a/inventory/group_vars/accesspoints/vars.yml b/inventory/group_vars/accesspoints/vars.yml index 0c5e5c53..1a841e13 100644 --- a/inventory/group_vars/accesspoints/vars.yml +++ b/inventory/group_vars/accesspoints/vars.yml @@ -291,21 +291,7 @@ openwrt_mixin: /usr/bin/list-stations: mode: "0755" - content: | - #!/bin/sh - - interfaces=$(iw dev | grep "Interface " | cut -d ' ' -f2 | sort) - - for interface in $interfaces; do - bssid=$(iw $interface info | grep "addr " | cut -d ' ' -f2) - essid=$(iw $interface info | grep "ssid " | cut -d ' ' -f2-) - channel=$(iw $interface info | grep "channel " | cut -d ' ' -f2-) - echo "$interface ($bssid, ssid: '$essid', channel: $channel)" - iw $interface station dump | grep "^Station" | awk '{ print(" - "$2) }' - echo "" - done - - exit 0 + file: "{{ global_files_dir }}/common/openwrt/list-stations" openwrt_uci_base: -- cgit v1.2.3