mirror of
https://codeberg.org/metamuffin/abrechenbarkeit-sd.git
synced 2024-12-22 22:54:34 +00:00
5 lines
283 B
Fish
5 lines
283 B
Fish
#!/usr/bin/fish
|
|
|
|
set ssid (cat /sys/firmware/efi/efivars/WlanSSID-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38 | tail -c +5)
|
|
set psk (cat /sys/firmware/efi/efivars/WlanPSK-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38 | tail -c +5)
|
|
wpa_passphrase $ssid $psk > /etc/wpa_supplicant/wpa_supplicant.conf
|