commit | author | age
|
849fbd
|
1 |
[Unit] |
G |
2 |
Description=Copy user wpa_supplicant.conf |
|
3 |
ConditionPathExists=/run/media/boot-mmcblk0p1/wpa_supplicant.conf |
|
4 |
After=getty.target |
|
5 |
|
|
6 |
[Service] |
|
7 |
Type=oneshot |
|
8 |
RemainAfterExit=yes |
|
9 |
ExecStartPre=/bin/mkdir -p /etc/wpa_supplicant/ |
|
10 |
ExecStart=/bin/mv /run/media/boot-mmcblk0p1/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant-wlan0.conf |
|
11 |
ExecStartPost=/bin/chmod 600 /etc/wpa_supplicant/wpa_supplicant-wlan0.conf |
|
12 |
ExecStartPost=/bin/sh -c "systemctl enable --now wpa_supplicant@wlan0" |
|
13 |
|
|
14 |
[Install] |
|
15 |
WantedBy=multi-user.target |