Update 80-sma-link.bash

pull/1/head
RandomNinjaAtk 5 years ago committed by GitHub
parent 6599b1fdf9
commit 7b7721bc5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -35,4 +35,13 @@ ln -s "/config/scripts/sma/sma.log" "/var/log/sma.log" && \
# set permissions
chmod 0666 "/config/sma"/*
# update from git
if [[ "${SMA_UPDATE}" == "true" ]]; then
git -C ${SMA_PATH} pull origin master
fi
# permissions
chown -R abc:abc ${SMA_PATH}
chmod -R 775 ${SMA_PATH}/*.sh
exit 0

Loading…
Cancel
Save