armbian-build/scripts/check_first_login_reboot.sh
2017-04-11 18:12:33 +02:00

9 lines
212 B
Bash

#!/bin/sh
# only do this for interactive shells
if [ "$-" != "${-#*i}" ]; then
printf "\n"
if [ -f "/var/run/.reboot_required" ]; then
printf "[\e[0;91m Kernel was updated, please reboot\x1B[0m ]\n\n"
fi
fi