guowenxue
2023-12-26 ad923ea232ca60c999b9cc94faccc3b14c2fe3e0
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