From 145f3588120ca2a576af262358bb9266ceff6327 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 11 Nov 2012 11:14:22 +0100 Subject: [PATCH] core64: add need reboot if outgoingfw is used. --- config/rootfiles/core/64/update.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/core/64/update.sh b/config/rootfiles/core/64/update.sh index c1e7545500..54339efbcc 100644 --- a/config/rootfiles/core/64/update.sh +++ b/config/rootfiles/core/64/update.sh @@ -71,8 +71,10 @@ perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang" sync -# This update need a reboot... -#touch /var/run/need_reboot +# This update need a reboot if outgoingfw is used +if [ -s /var/ipfire/outgoing/rules ]; then + touch /var/run/need_reboot +fi # #Finish -- 2.39.5