X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=config%2Frootfiles%2Fcore%2F28%2Fupdate.sh;h=c7d1fd9fb1a0684e4e49b7351cfeb742c6624bbe;hb=08e9dc015fee96830ed6842711daf4287e9a30f7;hp=a66d6704085dca6bf564c18e2c11a8eae0a1c75d;hpb=53c2885b911b8cb2b85cc001604fa58e8896b3a5;p=ipfire-2.x.git diff --git a/config/rootfiles/core/28/update.sh b/config/rootfiles/core/28/update.sh index a66d670408..c7d1fd9fb1 100755 --- a/config/rootfiles/core/28/update.sh +++ b/config/rootfiles/core/28/update.sh @@ -25,9 +25,9 @@ /usr/local/bin/backupctrl exclude >/dev/null 2>&1 # OLDVERSION=`grep "version = " /opt/pakfire/etc/pakfire.conf | cut -d'"' -f2` -NEWVERSION="2.3" +NEWVERSION="2.5" # -KVER="2.6.27.21" +KVER="2.6.27.23" ROOT=`grep "root=" /boot/grub/grub.conf | cut -d"=" -f2 | cut -d" " -f1 | tail -n 1` MOUNT=`grep "kernel" /boot/grub/grub.conf | tail -n 1` # Nur den letzten Parameter verwenden @@ -50,7 +50,7 @@ echo opt/pakfire/etc/pakfire.conf >> /opt/pakfire/tmp/ROOTFILES echo etc/sysconfig/lm_sensors >> /opt/pakfire/tmp/ROOTFILES # tar cjvf /var/ipfire/backup/core-upgrade_$KVER.tar.bz2 \ - -T /opt/pakfire/tmp/ROOTFILES --exclude='#*' -C / > /dev/null 2>&1 + -C / -T /opt/pakfire/tmp/ROOTFILES --exclude='#*' > /dev/null 2>&1 echo echo Update IPfire to $NEWVERSION ... # Remove old kernel, configs, initrd, modules ... @@ -120,11 +120,5 @@ rm -rf /etc/sysconfig/lm_sensors # sed -i "s|$OLDVERSION|$NEWVERSION|g" /opt/pakfire/etc/pakfire.conf # -# Create new issue -# -echo IPFire v$NEWVERSION - www.ipfire.org > /etc/issue -echo =================================== >> /etc/issue -echo \\n running on \\s \\r \\m >> /etc/issue -# # This core-update need a reboot /usr/bin/logger -p syslog.emerg -t core-upgrade-28 "Upgrade finished. Please reboot... "