guowenxue
2023-12-22 2ff83b8dc72aa3d6d10134ed63d6d80c025dbcd1
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