|
|
@@ -139,8 +139,10 @@ sed -i "s/#allogg_psw#/$allogg_psw/g" /var/www/html/ui/index.php |
|
|
|
|
|
|
|
# Lancement automatique du script de demarrage |
|
|
|
cp -a /etc/rc.local /etc/rc.local.bak |
|
|
|
sed -i '1 i #!/bin/sh -e' /etc/rc.local |
|
|
|
sed -i '$ d' /etc/rc.local |
|
|
|
echo "#!/bin/sh -e" > /etc/rc.local |
|
|
|
echo "#" >> /etc/rc.local |
|
|
|
echo "# rc.local" >> /etc/rc.local |
|
|
|
echo "" >> /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 |
|
|
|