guowenxue
2024-09-26 2b179f80693db10cb5a93ee649917ae6988feaf2
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