slapos-trigger-reboot.sh 96 Bytes
Newer Older
1 2 3
#!/bin/bash

FILE=/opt/upgrader/REBOOT_REQUIRED
4
if [[ -f "$FILE" ]]; 
5 6 7 8
then
	rm $FILE
	reboot
fi