mirror of
https://github.com/unraid/webgui.git
synced 2026-01-04 00:19:57 -06:00
Update rc.wireless
This commit is contained in:
@@ -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..'))
|
||||
|
||||
Reference in New Issue
Block a user