+++ /dev/null
-../../../common/IO-Socket-SSL
\ No newline at end of file
+++ /dev/null
-../../../common/Net_SSLeay
\ No newline at end of file
+++ /dev/null
-../../../../common/aarch64/linux
\ No newline at end of file
+++ /dev/null
-../../../../common/aarch64/linux-initrd
\ No newline at end of file
+++ /dev/null
-../../../../common/armv5tel/linux-initrd-kirkwood
\ No newline at end of file
+++ /dev/null
-../../../../common/armv5tel/linux-initrd-multi
\ No newline at end of file
+++ /dev/null
-../../../../common/armv5tel/linux-kirkwood
\ No newline at end of file
+++ /dev/null
-../../../../common/armv5tel/linux-multi
\ No newline at end of file
+++ /dev/null
-../../../common/bind
\ No newline at end of file
+++ /dev/null
-../../../common/collectd
\ No newline at end of file
+++ /dev/null
-../../../common/dhcpcd
\ No newline at end of file
+++ /dev/null
-etc/system-release
-etc/issue
-srv/web/ipfire/cgi-bin/credits.cgi
-usr/lib/firewall/rules.pl
-usr/sbin/firewall-policy
-var/ipfire/langs
-etc/logrotate.conf
-etc/rc.d/init.d/firewall
-etc/rc.d/init.d/unbound
-etc/rc.d/init.d/networking/red.up/99-geoip-database
-etc/sysctl.conf
-srv/web/ipfire/cgi-bin/dns.cgi
-srv/web/ipfire/cgi-bin/ovpnmain.cgi
-srv/web/ipfire/cgi-bin/qos.cgi
-srv/web/ipfire/cgi-bin/vpnmain.cgi
-usr/lib/firewall/rules.pl
-usr/sbin/firewall-policy
-usr/local/bin/xt_geoip_update
-var/ipfire/backup/bin/backup.pl
-var/ipfire/qos/bin/makeqosscripts.pl
-var/ipfire/suricata/ruleset-sources
-srv/web/ipfire/cgi-bin/ovpnmain.cgi
+++ /dev/null
-../../../../common/i586/linux
\ No newline at end of file
+++ /dev/null
-../../../../common/i586/linux-initrd
\ No newline at end of file
+++ /dev/null
-../../../common/iproute2
\ No newline at end of file
+++ /dev/null
-../../../common/ipset
\ No newline at end of file
+++ /dev/null
-../../../common/iptables
\ No newline at end of file
+++ /dev/null
-../../../common/knot
\ No newline at end of file
+++ /dev/null
-../../../common/libhtp
\ No newline at end of file
+++ /dev/null
-../../../common/libnetfilter_queue
\ No newline at end of file
+++ /dev/null
-../../../common/libpcap
\ No newline at end of file
+++ /dev/null
-../../../common/libssh
\ No newline at end of file
+++ /dev/null
-../../../common/pcre
\ No newline at end of file
+++ /dev/null
-../../../common/strongswan
\ No newline at end of file
+++ /dev/null
-../../../common/suricata
\ No newline at end of file
+++ /dev/null
-../../../common/tzdata
\ No newline at end of file
+++ /dev/null
-../../../common/unbound
\ No newline at end of file
+++ /dev/null
-../../../common/wpa_supplicant
\ No newline at end of file
+++ /dev/null
-../../../../common/x86_64/linux
\ No newline at end of file
+++ /dev/null
-../../../../common/x86_64/linux-initrd
\ No newline at end of file
--- /dev/null
+../../../common/bash
\ No newline at end of file
--- /dev/null
+../../../common/ca-certificates
\ No newline at end of file
--- /dev/null
+../../../common/ddns
\ No newline at end of file
--- /dev/null
+etc/system-release
+etc/issue
+srv/web/ipfire/cgi-bin/credits.cgi
+var/ipfire/langs
+etc/httpd/conf/vhosts.d/ipfire-interface.conf
+etc/httpd/conf/vhosts.d/ipfire-interface-ssl.conf
+etc/rc.d/init.d/functions
+etc/rc.d/init.d/networking/red.up/23-suricata
+etc/rc.d/init.d/unbound
+etc/suricata/suricata.yaml
+srv/web/ipfire/cgi-bin/ids.cgi
+srv/web/ipfire/cgi-bin/mail.cgi
+srv/web/ipfire/cgi-bin/ovpnmain.cgi
+usr/sbin/convert-snort
+usr/lib/firewall/firewall-lib.pl
+var/ipfire/ids-functions.pl
--- /dev/null
+../../../../common/i586/intel-microcode
\ No newline at end of file
--- /dev/null
+../../../../common/i586/openssl-sse2
\ No newline at end of file
--- /dev/null
+../../../common/logwatch
\ No newline at end of file
--- /dev/null
+../../../common/lz4
\ No newline at end of file
--- /dev/null
+../../../common/openssl
\ No newline at end of file
--- /dev/null
+../../../common/openvpn
\ No newline at end of file
--- /dev/null
+../../../common/readline
\ No newline at end of file
--- /dev/null
+../../../common/readline-compat
\ No newline at end of file
--- /dev/null
+../../../common/squid
\ No newline at end of file
--- /dev/null
+../../../../common/x86_64/intel-microcode
\ No newline at end of file
. /opt/pakfire/lib/functions.sh
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
-core=137
+core=139
exit_with_error() {
# Set last succesfull installed core.
rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
done
-KVER="xxxKVERxxx"
-
-# Backup uEnv.txt if exist
-if [ -e /boot/uEnv.txt ]; then
- cp -vf /boot/uEnv.txt /boot/uEnv.txt.org
-fi
-
-# Do some sanity checks.
-case $(uname -r) in
- *-ipfire*)
- # Ok.
- ;;
- *)
- exit_with_error "ERROR cannot update. No IPFire Kernel." 1
- ;;
-esac
-
-# Check diskspace on root
-ROOTSPACE=`df / -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
-
-if [ $ROOTSPACE -lt 80000 ]; then
- exit_with_error "ERROR cannot update because not enough free space on root." 2
- exit 2
-fi
-
-# Remove the old kernel
-rm -rf /boot/System.map-*
-rm -rf /boot/config-*
-rm -rf /boot/ipfirerd-*
-rm -rf /boot/initramfs-*
-rm -rf /boot/vmlinuz-*
-rm -rf /boot/uImage-*-ipfire-*
-rm -rf /boot/zImage-*-ipfire-*
-rm -rf /boot/uInit-*-ipfire-*
-rm -rf /boot/dtb-*-ipfire-*
-rm -rf /lib/modules
# Remove files
/usr/local/bin/update-lang-cache
# Start services
-/usr/local/bin/ipsecctrl S
-/etc/init.d/suricata restart
-/etc/init.d/unbound restart
-/etc/init.d/collectd restart
-
-# remove lm_sensor config after collectd was started
-# to reserch sensors at next boot with updated kernel
-rm -f /etc/sysconfig/lm_sensors
-
-# generate new qos script
-/usr/local/bin/qosctrl generate
-
-# Search sensors again after reboot into the new kernel
-rm -f /etc/sysconfig/lm_sensors
-
-# Upadate Kernel version uEnv.txt
-if [ -e /boot/uEnv.txt ]; then
- sed -i -e "s/KVER=.*/KVER=${KVER}/g" /boot/uEnv.txt
-fi
-
-# call user update script (needed for some arm boards)
-if [ -e /boot/pakfire-kernel-update ]; then
- /boot/pakfire-kernel-update ${KVER}
-fi
-case "$(uname -m)" in
- i?86)
- # Force (re)install pae kernel if pae is supported
- rm -rf /opt/pakfire/db/installed/meta-linux-pae
- rm -rf /opt/pakfire/db/rootfiles/linux-pae
- if [ ! "$(grep "^flags.* pae " /proc/cpuinfo)" == "" ]; then
- ROOTSPACE=`df / -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
- BOOTSPACE=`df /boot -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
- if [ $BOOTSPACE -lt 22000 -o $ROOTSPACE -lt 120000 ]; then
- /usr/bin/logger -p syslog.emerg -t ipfire \
- "core-update-${core}: WARNING not enough space for pae kernel."
- touch /var/run/need_reboot
- else
- echo "Name: linux-pae" > /opt/pakfire/db/installed/meta-linux-pae
- echo "ProgVersion: 0" >> /opt/pakfire/db/installed/meta-linux-pae
- echo "Release: 0" >> /opt/pakfire/db/installed/meta-linux-pae
- fi
- else
- touch /var/run/need_reboot
- fi
- ;;
- *)
- # This update needs a reboot...
- touch /var/run/need_reboot
- ;;
-esac
+# This update needs a reboot...
+#touch /var/run/need_reboot
# Finish
/etc/init.d/fireinfo start