From 7f8eb6641f8a3afa4794ab10a0305b63ae94d9bf Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 2 Feb 2021 15:18:24 +0100 Subject: [PATCH] os-upgrade.sh: delete duplicate code. --- os-upgrade.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/os-upgrade.sh b/os-upgrade.sh index b4c6524..4400874 100755 --- a/os-upgrade.sh +++ b/os-upgrade.sh @@ -272,10 +272,6 @@ else echo_done fi -if [[ -f "/var/run/reboot-required" ]]; then - echo -e "\n\t[ \033[31m\033[1m Reboot required! \033[m\033[m ]\n" -fi - # - Get list of packages with onlx config files present # - rc_packages="$(dpkg --list | awk '/^rc/ { print $2 }')"