commit 0fa91246dad5bf0cf7d7e85768cae821a32132e4
parent 52c37f2880909167825bb89d8daa1d1ea9f548ff
Author: dwrz <dwrz@dwrz.net>
Date: Thu, 2 Feb 2023 15:39:39 +0000
Refactor setup script
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/setup b/setup
@@ -136,6 +136,8 @@ write_settings() {
}
link_files() {
+ chmod 400 "${PWD}/config/msmtprc"
+
ln -s "${PWD}/config/motion.conf" "/etc/motion/motion.conf"
ln -s "${PWD}/config/msmtprc" "${MOTION_DIR}/.msmtprc"
ln -s "${PWD}/config/muttrc" "${MOTION_DIR}/.muttrc"