guowenxue
2023-12-22 281a7fcd5924e749a96967393828421caea68e93
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Enable wpa_supplicant service
Requires=sys-subsystem-net-devices-wlan0.device
 
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/sh -c "systemctl enable --now wpa_supplicant@wlan0"
 
[Install]
WantedBy=multi-user.target