diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-12-24 01:58:59 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-12-25 03:16:39 +0100 |
commit | a88ce7b965c1d4c03aac02c1c8be819cff0f9f6e (patch) | |
tree | 5af2982447fe3ee7659de124cb2561eba65548d0 /inventory/group_vars | |
parent | x509/uacme: implement self-signed interim certificate (diff) |
mz-(router|ap): upgrade to openwrt 22.03.2
Diffstat (limited to 'inventory/group_vars')
-rw-r--r-- | inventory/group_vars/accesspoints/vars.yml | 16 |
1 files changed, 1 insertions, 15 deletions
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: |