Update wireless.sh

This commit is contained in:
royal
2025-10-14 18:23:31 +03:00
committed by GitHub
parent 73f24025d2
commit b38fed275e
+1 -1
View File
@@ -9,7 +9,7 @@ OPENWRT_VERSION=$(cat /etc/os-release | grep 'OPENWRT_RELEASE=' | cut -d'"' -f2
cp "$WIRELESS_CONFIG" "$WIRELESS_CONFIG.bak" 2>/dev/null
if [ "$OPENWRT_VERSION" = "24" ]; then
if [ "$OPENWRT_VERSION" = "OpenWrt 24" ]; then
cat > "$WIRELESS_CONFIG" << 'EOF'
config wifi-device 'radio0'
option type 'mac80211'