From 999dd6730490611446c5c52f5ada2d3b101fd892 Mon Sep 17 00:00:00 2001 From: Alex Oprea Date: Tue, 11 Apr 2017 16:39:35 +0200 Subject: [PATCH] iup: do not check for file nor reboot if the section is not enabled --- iup/files/sbin/iup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iup/files/sbin/iup b/iup/files/sbin/iup index 0d8adbeaa..091f81b83 100755 --- a/iup/files/sbin/iup +++ b/iup/files/sbin/iup @@ -229,7 +229,7 @@ handle_provisioning() { fi done fi - if [ ! -s "$IUPCONFFILES" ]; then + if [ ! -s "$IUPCONFFILES" ] && [ "$enabled" -eq 1 ]; then echo "File not Found" reboot="off" CONF=0