guowenxue
2024-01-20 21b5a7e28820ae6c3599f8adff0c3cf7c227a278
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