armbian-build/scripts/update-motd.d/98-autoreboot-warn
zador-blood-stained 0c35f38101 Small cleanup
2016-09-29 19:42:17 +03:00

9 lines
219 B
Bash

#!/bin/bash
if [[ -f /tmp/firstrun_running ]]; then
printf "\n\e[0;91m Warning: firstrun script is running \x1B[0m \n"
printf "\e[0;91m automatic reboot may be performed soon \x1B[0m \n\n"
fi
(sleep 1 && rm "$0") &