summaryrefslogtreecommitdiff
path: root/files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'files.sh')
-rw-r--r--files.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/files.sh b/files.sh
new file mode 100644
index 0000000..6221d4d
--- /dev/null
+++ b/files.sh
@@ -0,0 +1,21 @@
+install_dir 0755 root wheel '/etc'
+install_file 0600 root wheel '/etc/doas.conf'
+install_file 0644 root wheel '/etc/exports'
+install_file 0644 root wheel '/etc/fstab'
+install_file 0644 root wheel '/etc/httpd.conf'
+install_file 0644 root wheel '/etc/rc.conf.local'
+install_file 0644 root wheel '/etc/shells'
+install_dir 0755 root wheel '/etc/ssh'
+install_file 0644 root wheel '/etc/ssh/sshd_config'
+
+install_dir 0755 root wheel '/home'
+install_dir 0755 git git '/home/git'
+install_file 0644 git git '/home/git/.gitconfig'
+install_file 0600 git git '/home/git/.gitolite.rc'
+
+install_dir 0755 root daemon '/var'
+install_dir 0755 root daemon '/var/www'
+install_dir 0755 root daemon '/var/www/conf'
+install_file 0644 root wheel '/var/www/conf/cgitrc'
+install_dir 0755 git git '/var/www/git'
+install_dir 0755 git git '/var/www/git/repositories'