Fix setup script link files

This commit is contained in:
dwrz
2023-02-02 15:30:25 +00:00
parent 4f3135e55b
commit 52c37f2880
+6 -6
View File
@@ -136,12 +136,12 @@ write_settings() {
} }
link_files() { link_files() {
ln -s "./config/motion.conf" "/etc/motion/motion.conf" ln -s "${PWD}/config/motion.conf" "/etc/motion/motion.conf"
ln -s "./config/msmtprc" "${MOTION_DIR}/.msmtprc" ln -s "${PWD}/config/msmtprc" "${MOTION_DIR}/.msmtprc"
ln -s "./config/muttrc" "${MOTION_DIR}/.muttrc" ln -s "${PWD}/config/muttrc" "${MOTION_DIR}/.muttrc"
ln -s "./scripts/alert" "${MOTION_DIR}/alert" ln -s "${PWD}/scripts/alert" "${MOTION_DIR}/alert"
ln -s "./scripts/notify" "${MOTION_DIR}/notify" ln -s "${PWD}/scripts/notify" "${MOTION_DIR}/notify"
ln -s "./scripts/sync" "${MOTION_DIR}/sync" ln -s "${PWD}/scripts/sync" "${MOTION_DIR}/sync"
} }
main() { main() {