Updated motd's in the installer,

they wil also be displayed at the end of installation
This commit is contained in:
2020-07-30 14:47:54 +02:00
parent f24076bb43
commit 8d10e8b853
7 changed files with 25 additions and 9 deletions

View File

@@ -17,4 +17,4 @@ else
fi
echo "*/5 * * * * SITEname php -f /var/www/DOMAINname/html/cron.php > /dev/null 2>&1" >> /etc/crontab
rm -f /etc/update-motd.d/50-nextnotice
rm -f /etc/update-motd.d/51-nextnotice

View File

@@ -45,5 +45,5 @@ chown "$sitename":"$sitename" -R /var/www/"$domain"/html
#Makeing nextcloud Finalize script and setting login Notice
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/nextcloud/nextcloud-init.sh -O ~/nextcloud-init.sh
sed -i -e 's/DOMAINname/'$domain'/' -e 's/SITEname/'$sitename'/' ~/nextcloud-init.sh
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/nextcloud/MotdNextCloud -O /etc/update-motd.d/50-nextnotice
chmod +x /etc/update-motd.d/50-nextnotice
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/nextcloud/MotdNextCloud -O /etc/update-motd.d/51-nextnotice
chmod +x /etc/update-motd.d/51-nextnotice