From ea94ff2e31a46b2887ca868addfdaf2040eabfdb Mon Sep 17 00:00:00 2001 From: bergware Date: Thu, 8 May 2025 17:42:52 +0200 Subject: [PATCH] Update rc.wireless --- etc/rc.d/rc.wireless | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/rc.wireless b/etc/rc.d/rc.wireless index 6f6e688b3..8e16249ce 100755 --- a/etc/rc.d/rc.wireless +++ b/etc/rc.d/rc.wireless @@ -287,7 +287,7 @@ wifi_stop(){ run iw dev $PORT disconnect run rm -f $INI # restart services when static assignments - [[ $SRV4 == no && (-z $SRV6 || $SRV6 == no) ]] && $SERVICE 5 + [[ $SRV4 == no && (-z $SRV6 || $SRV6 == no) ]] && $SERVICES 5 if ! wifi_running; then REPLY="Stopped"; else REPLY="Failed"; fi log "$DAEMON... $REPLY." } @@ -346,7 +346,7 @@ wifi_join(){ echo 1 >$CONF6/$PORT/disable_ipv6 fi # restart services when static assignments - [[ $SRV4 == no && (-z $SRV6 || $SRV6 == no) ]] && $SERVICE 5 + [[ $SRV4 == no && (-z $SRV6 || $SRV6 == no) ]] && $SERVICES 5 if wifi_running; then if [[ -z $CC ]]; then CC=($(iw reg get | grep -Po '^country \K..'))