diff --git a/wireless.sh b/wireless.sh index 3295f4c..33a7d79 100644 --- a/wireless.sh +++ b/wireless.sh @@ -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'