]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
core64: add need reboot if outgoingfw is used.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 11 Nov 2012 10:14:22 +0000 (11:14 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 11 Nov 2012 10:14:22 +0000 (11:14 +0100)
config/rootfiles/core/64/update.sh

index c1e7545500c05e866a87b236cd4293a0c09bfd86..54339efbcc13763549c8cc8e18ba0df61d699550 100644 (file)
@@ -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