From: Arne Fitzenreiter Date: Mon, 25 Jul 2011 18:54:10 +0000 (+0200) Subject: core51: update need a reboot. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=e935465a7a5160a03d382f1e330accfae1aceea9 core51: update need a reboot. --- diff --git a/config/rootfiles/core/51/update.sh b/config/rootfiles/core/51/update.sh index 78e6a53e0..19fe8985d 100644 --- a/config/rootfiles/core/51/update.sh +++ b/config/rootfiles/core/51/update.sh @@ -68,7 +68,7 @@ rm -rf /boot/System.map-* rm -rf /boot/config-* rm -rf /boot/ipfirerd-* rm -rf /boot/vmlinuz-* -rm -rf /lib/modules/*-ipfire +rm -rf /lib/modules/* # # Backup grub.conf # @@ -147,6 +147,8 @@ rm -rf /etc/sysconfig/lm_sensors /usr/bin/logger -p syslog.emerg -t core-upgrade-51 "Check it before reboot !!!" /usr/bin/logger -p syslog.emerg -t core-upgrade-51 " *** Please reboot... *** " +# This update need a reboot. +touch /var/run/need_reboot # #Finish