updated wp-backup initd

This commit is contained in:
Bram Prieshof
2020-07-30 14:58:30 +02:00
parent e2987abc9d
commit 83ab33ebad

View File

@@ -50,7 +50,7 @@ if [ $CMS = "wordpress" ]; then
echo 'printf $red "Please run bash ~/wp-backup-Init.sh after initialisation of WP"' >> /etc/update-motd.d/51-bckupnotice echo 'printf $red "Please run bash ~/wp-backup-Init.sh after initialisation of WP"' >> /etc/update-motd.d/51-bckupnotice
echo 'printf "\n"' >> /etc/update-motd.d/51-bckupnotice echo 'printf "\n"' >> /etc/update-motd.d/51-bckupnotice
wget -q -t7 "$mrepo"/raw/branch/"$mbranch"/config/Motd/wp-backup-Init.sh -O /root/wp-backup-Init.sh wget -q -t7 "$mrepo"/raw/branch/"$mbranch"/config/Motd/wp-backup-Init.sh -O /root/wp-backup-Init.sh
sed -i -e 's/DOMAINname/'$domain'/' /root/wp-backup-Init.sh sed -i -e 's/DOMAINname/'$domain'/' -e 's/SITEname/'$sitename'/' /root/wp-backup-Init.sh
fi fi
#CMS None #CMS None
if [ $CMS = "none" ]; then if [ $CMS = "none" ]; then