mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-22 10:02:47 +07:00
15 lines
456 B
Bash
15 lines
456 B
Bash
#!/bin/sh
|
|
#
|
|
# Copyright (c) Authors: http://www.armbian.com/authors
|
|
#
|
|
# This file is licensed under the terms of the GNU General Public
|
|
# License version 2. This program is licensed "as is" without any
|
|
# warranty of any kind, whether express or implied.
|
|
|
|
# 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 |