src

sauce
got clone ssh://anon@src.dalliard.ch/src
log | files | refs

sysfiles.sh (993B)


      1 #!/bin/sh
      2 src="$HOME/src/src"
      3 
      4 doas install -o root -g wheel -m 600 "$src/s2/sysfiles/pf.conf" "/etc/pf.conf"
      5 doas install -o root -g wheel -m 600 "$src/s2/sysfiles/relayd.conf" "/etc/relayd.conf"
      6 doas install -o root -g wheel -m 640 "$src/s2/sysfiles/doas.conf" "/etc/doas.conf"
      7 doas install -o root -g wheel -m 644 "$src/s2/sysfiles/acme-client.conf" "/etc/acme-client.conf"
      8 doas install -o root -g wheel -m 644 "$src/s2/sysfiles/daily.local" "/etc/daily.local"
      9 doas install -o root -g wheel -m 644 "$src/s2/sysfiles/gotd.conf" "/etc/gotd.conf"
     10 doas install -o root -g wheel -m 644 "$src/s2/sysfiles/httpd.conf" "/etc/httpd.conf"
     11 doas install -o root -g wheel -m 644 "$src/s2/sysfiles/resolv.conf" "/etc/resolv.conf"
     12 doas install -o root -g wheel -m 644 "$src/s2/sysfiles/sshd_config" "/etc/ssh/sshd_config"
     13 doas install -o root -g wheel -m 644 "$src/s2/sysfiles/weekly.local" "/etc/weekly.local"
     14 doas install -o root -g www -m 644 "$src/s2/sysfiles/index.html" "/var/www/htdocs/index.html"