Compare commits

..

2 Commits

Author SHA1 Message Date
448c5516c9 Merge pull request 'Update bootstrap.sh' (#17) from dev into prod
Reviewed-on: #17
2026-07-23 17:41:25 +02:00
1a35d6d60a Update bootstrap.sh 2026-07-23 17:41:06 +02:00

View File

@@ -136,6 +136,7 @@ mv $REBOOTBIN $REBOOTBINOLD
cat << 'EOF' > $REBOOTBIN
#!/bin/bash
touch /var/log/restart-flag
echo "[REBOOT] Ordre de reboot lancé"
sleep 1
/usr/sbin/reboot.old
EOF
@@ -145,6 +146,7 @@ chmod +x $REBOOTBIN
cat << 'EOF' > $SHUTBIN
#!/bin/bash
touch /var/log/restart-flag
echo "[SHUTDOWN] Ordre d'arrêt lancé"
sleep 1
shutdown -h now
EOF