Update p25.sh

This commit is contained in:
Esteban Mackay Q 2023-10-09 16:11:31 -05:00
parent d3946d791e
commit 21cc429025
1 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,8 @@ if [ ! -d "/var/www" ]
then
sudo mkdir /var/www
fi
variable2=$(date +'%Y' | tail -c 5)
sudo sed -i -e "\$i\\</div> <p style=\"text-align: center;\"><span class=\"text-muted\"><a title=\"Raspbian Proyect by HP3ICC © 2018-$variable2\" target=\"_blank\" href=https:\/\/gitlab.com\/hp3icc\/emq-TE1\/>Proyect: emq-TE1+<\/a><\/span>" /opt/P25Reflector-Dashboard/index.php
sudo mkdir /var/www/p25
sudo cp -R /opt/P25Reflector-Dashboard/* /var/www/p25/
rm /var/www/p25/setup.php