summaryrefslogtreecommitdiff
path: root/global/post-tasks.d/999reboot
blob: 2ed9fa7abc4579938e2807f756cfe57421f9da2a (plain)
1
2
3
4
5
#!/bin/sh

if [ -f /var/run/reboot-required -a -f /etc/cosmos-automatic-reboot ]; then
  reboot
fi