From eb670e687edcc065c2886be806acd80a697f9bea Mon Sep 17 00:00:00 2001 From: maddaat Date: Fri, 10 Apr 2026 17:34:33 +0400 Subject: Initial commit --- files.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 files.sh (limited to 'files.sh') 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' -- cgit v1.2.3