diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kvmd-bootconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kvmd-bootconfig b/scripts/kvmd-bootconfig index 1ea68c2c..f4051363 100755 --- a/scripts/kvmd-bootconfig +++ b/scripts/kvmd-bootconfig @@ -191,6 +191,7 @@ DNSSEC=no ClientIdentifier=mac end_of_file wpa_passphrase "$WIFI_ESSID" "$WIFI_PASSWD" > "/etc/wpa_supplicant/wpa_supplicant-$WIFI_IFACE.conf" + chmod 640 "/etc/wpa_supplicant/wpa_supplicant-$WIFI_IFACE.conf" systemctl enable "wpa_supplicant@$WIFI_IFACE.service" || true touch /boot/pikvm-reboot.txt fi |