mirror of
https://codeberg.org/metamuffin/abrechenbarkeit-sd.git
synced 2024-12-23 06:54:35 +00:00
6 lines
283 B
Text
6 lines
283 B
Text
|
#!/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
|