|
|
@@ -44,7 +44,11 @@ chown -R allo-gg:allo-gg /var/www/html/ |
|
|
|
su -l allo-gg -c "git clone https://github.com/heuzef/Allo-GG.git /var/www/html/" |
|
|
|
|
|
|
|
# Lancement automatique du script de demarrage |
|
|
|
echo '@reboot /bin/bash /var/www/html/scripts/boot.sh &' | crontab -u allo-gg - |
|
|
|
sed -i '1 i #!/bin/sh -e' /etc/rc.local |
|
|
|
sed -i '$ d' /etc/rc.local |
|
|
|
echo "/bin/bash /var/www/html/scripts/boot.sh &" >> /etc/rc.local |
|
|
|
echo "" >> /etc/rc.local |
|
|
|
echo "exit 0" >> /etc/rc.local |
|
|
|
|
|
|
|
echo |
|
|
|
echo "----------------------------" |
|
|
|