From: Arne Fitzenreiter Date: Sun, 11 Nov 2012 10:14:22 +0000 (+0100) Subject: core64: add need reboot if outgoingfw is used. X-Git-Tag: v2.11-core65~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fcore64;p=ipfire-2.x.git core64: add need reboot if outgoingfw is used. --- 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