[Unit]
Description=开机自动连接 WiFi（优先 openwrt_5G，回退 kskbl_2.4G）
After=NetworkManager.service
Wants=NetworkManager.service
Before=network-online.target
WantedBy=multi-user.target

[Service]
Type=oneshot
ExecStart=/usr/local/bin/auto-wifi-connect.sh
RemainAfterExit=yes
StandardOutput=journal+console
StandardError=journal+console

[Install]
WantedBy=multi-user.target
