updated wp-backup initd
This commit is contained in:
2
conf.sh
2
conf.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user