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
#
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
#
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
#
chmod +x /tmp/pak_update
/tmp/pak_update &
#
+# Start squid
+/etc/init.d/squid start
+#
echo
echo Please wait until pakfire has ended...
echo