permissions for wifi config file
authorPaul Hänsch <paul@plutz.net>
Wed, 31 Oct 2018 14:40:11 +0000 (15:40 +0100)
committerPaul Hänsch <paul@plutz.net>
Wed, 31 Oct 2018 14:40:11 +0000 (15:40 +0100)
Makefile

index 74ef722..a7742d7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,7 @@ id_rsa.pub:
 
 files/etc/network/interfaces.d/wifi: wifi.tmpl
        sed 's;#WIFI-SSID#;${WIFI-SSID};; s;#WIFI-PASS#;${WIFI-PASS};;' <'$<' >'$@'
+       chmod 644 '$@'
 
 files/root/.ssh/authorized_keys: id_rsa.pub
        mkdir -p files/root/.ssh/