X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=config%2Frootfiles%2Fcore%2F38%2Fupdate.sh;h=dc643fe56acc785a2385787ebf15086283c52d58;hp=3cb9654eec034928247ccf95a9f4804606458e9e;hb=d3f1f999278eedff0e1fa3ac7303ee711e93f0e1;hpb=8dc25f04ba659b6f88f0eef91258088c4b3fe978 diff --git a/config/rootfiles/core/38/update.sh b/config/rootfiles/core/38/update.sh index 3cb9654eec..dc643fe56a 100644 --- a/config/rootfiles/core/38/update.sh +++ b/config/rootfiles/core/38/update.sh @@ -61,6 +61,9 @@ echo boot >> /opt/pakfire/tmp/ROOTFILES echo etc/sysconfig/lm_sensors >> /opt/pakfire/tmp/ROOTFILES echo usr/lib/ipsec >> /opt/pakfire/tmp/ROOTFILES echo usr/libexec/ipsec >> /opt/pakfire/tmp/ROOTFILES +# exclude squid cache from backup +sed -i -e "s|^var/log/cache|#var/log/cache|g" /opt/pakfire/tmp/ROOTFILES +# Backup the files tar cjvf /var/ipfire/backup/core-upgrade_$KVER.tar.bz2 \ -C / -T /opt/pakfire/tmp/ROOTFILES --exclude='#*' > /dev/null 2>&1 @@ -95,7 +98,11 @@ rm -rf /usr/libexec/ipsec # rm -rf /usr/lib/snort_* rm -rf /etc/snort - +# +# mISDN Files that was moved to sbin +# +rm -rf /usr/bin/misdn_rename +rm -rf /usr/bin/misdn_cleanl2 # # Backup grub.conf # @@ -112,9 +119,8 @@ echo Unpack the updated files ... tar xvf /opt/pakfire/tmp/files --preserve --numeric-owner -C / \ --no-overwrite-dir # -# Start Sevices +# Start sysklogd /etc/init.d/sysklogd start -/etc/init.d/squid start # # Modify grub.conf # @@ -263,6 +269,9 @@ echo '/usr/bin/logger -p syslog.emerg -t core-upgrade-38 " *** Please reboot... chmod +x /tmp/pak_update /tmp/pak_update & # +# Start squid +/etc/init.d/squid start +# echo echo Please wait until pakfire has ended... echo