2 ############################################################################
4 # This file is part of the IPFire Firewall. #
6 # IPFire is free software; you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation; either version 3 of the License, or #
9 # (at your option) any later version. #
11 # IPFire is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with IPFire; if not, write to the Free Software #
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
20 # Copyright (C) 2022 IPFire-Team <info@ipfire.org>. #
22 ############################################################################
24 .
/opt
/pakfire
/lib
/functions.sh
25 /usr
/local
/bin
/backupctrl exclude
>/dev
/null
2>&1
29 # Remove old core updates from pakfire cache to save space...
30 for (( i
=1; i
<=$core; i
++ )); do
31 rm -f /var
/cache
/pakfire
/core-upgrade-
*-$i.ipfire
35 /etc
/rc.d
/init.d
/squid stop
36 /etc
/rc.d
/init.d
/openvpn stop
37 /etc
/rc.d
/init.d
/ipsec stop
41 /lib
/firmware
/3com
/3C359.bin \
42 /lib
/firmware
/TDA7706_OM_v2.5
.1_boot.txt \
43 /lib
/firmware
/TDA7706_OM_v3.0
.2_boot.txt \
44 /lib
/firmware
/atmsar11.fw \
45 /lib
/firmware
/bnx
2/bnx2-mips-06-4.6
.16.fw \
46 /lib
/firmware
/bnx
2/bnx2-mips-06-5.0
.0.j3.fw \
47 /lib
/firmware
/bnx
2/bnx2-mips-06-5.0
.0.j6.fw \
48 /lib
/firmware
/bnx
2/bnx2-mips-06-6.0
.15.fw \
49 /lib
/firmware
/bnx
2/bnx2-mips-06-6.2
.1.fw \
50 /lib
/firmware
/bnx
2/bnx2-mips-09-4.6
.17.fw \
51 /lib
/firmware
/bnx
2/bnx2-mips-09-5.0
.0.j15.fw \
52 /lib
/firmware
/bnx
2/bnx2-mips-09-5.0
.0.j3.fw \
53 /lib
/firmware
/bnx
2/bnx2-mips-09-5.0
.0.j9.fw \
54 /lib
/firmware
/bnx
2/bnx2-mips-09-6.0
.17.fw \
55 /lib
/firmware
/bnx
2/bnx2-mips-09-6.2
.1.fw \
56 /lib
/firmware
/bnx
2/bnx2-mips-09-6.2
.1a.fw \
57 /lib
/firmware
/bnx
2/bnx2-rv2p-06-4.6
.16.fw \
58 /lib
/firmware
/bnx
2/bnx2-rv2p-06-5.0
.0.j3.fw \
59 /lib
/firmware
/bnx
2/bnx2-rv2p-09-4.6
.15.fw \
60 /lib
/firmware
/bnx
2/bnx2-rv2p-09-5.0
.0.j10.fw \
61 /lib
/firmware
/bnx
2/bnx2-rv2p-09-5.0
.0.j3.fw \
62 /lib
/firmware
/bnx
2/bnx2-rv2p-09ax-5.0
.0.j10.fw \
63 /lib
/firmware
/bnx
2/bnx2-rv2p-09ax-5.0
.0.j3.fw \
64 /lib
/firmware
/bnx2x-e1-4.8
.53.0.fw \
65 /lib
/firmware
/bnx2x-e1-5.2
.13.0.fw \
66 /lib
/firmware
/bnx2x-e1-5.2
.7.0.fw \
67 /lib
/firmware
/bnx2x-e1h-4.8
.53.0.fw \
68 /lib
/firmware
/bnx2x-e1h-5.2
.13.0.fw \
69 /lib
/firmware
/bnx2x-e1h-5.2
.7.0.fw \
70 /lib
/firmware
/bnx2x
/bnx2x-e1-6.0
.34.0.fw \
71 /lib
/firmware
/bnx2x
/bnx2x-e1-6.2
.5.0.fw \
72 /lib
/firmware
/bnx2x
/bnx2x-e1-6.2
.9.0.fw \
73 /lib
/firmware
/bnx2x
/bnx2x-e1-7.0
.20.0.fw \
74 /lib
/firmware
/bnx2x
/bnx2x-e1-7.0
.23.0.fw \
75 /lib
/firmware
/bnx2x
/bnx2x-e1-7.0
.29.0.fw \
76 /lib
/firmware
/bnx2x
/bnx2x-e1-7.10
.51.0.fw \
77 /lib
/firmware
/bnx2x
/bnx2x-e1-7.12
.30.0.fw \
78 /lib
/firmware
/bnx2x
/bnx2x-e1-7.2
.16.0.fw \
79 /lib
/firmware
/bnx2x
/bnx2x-e1-7.2
.51.0.fw \
80 /lib
/firmware
/bnx2x
/bnx2x-e1-7.8
.17.0.fw \
81 /lib
/firmware
/bnx2x
/bnx2x-e1-7.8
.19.0.fw \
82 /lib
/firmware
/bnx2x
/bnx2x-e1-7.8
.2.0.fw \
83 /lib
/firmware
/bnx2x
/bnx2x-e1h-6.0
.34.0.fw \
84 /lib
/firmware
/bnx2x
/bnx2x-e1h-6.2
.5.0.fw \
85 /lib
/firmware
/bnx2x
/bnx2x-e1h-6.2
.9.0.fw \
86 /lib
/firmware
/bnx2x
/bnx2x-e1h-7.0
.20.0.fw \
87 /lib
/firmware
/bnx2x
/bnx2x-e1h-7.0
.23.0.fw \
88 /lib
/firmware
/bnx2x
/bnx2x-e1h-7.0
.29.0.fw \
89 /lib
/firmware
/bnx2x
/bnx2x-e1h-7.10
.51.0.fw \
90 /lib
/firmware
/bnx2x
/bnx2x-e1h-7.12
.30.0.fw \
91 /lib
/firmware
/bnx2x
/bnx2x-e1h-7.2
.16.0.fw \
92 /lib
/firmware
/bnx2x
/bnx2x-e1h-7.2
.51.0.fw \
93 /lib
/firmware
/bnx2x
/bnx2x-e1h-7.8
.17.0.fw \
94 /lib
/firmware
/bnx2x
/bnx2x-e1h-7.8
.19.0.fw \
95 /lib
/firmware
/bnx2x
/bnx2x-e1h-7.8
.2.0.fw \
96 /lib
/firmware
/bnx2x
/bnx2x-e2-6.0
.34.0.fw \
97 /lib
/firmware
/bnx2x
/bnx2x-e2-6.2
.5.0.fw \
98 /lib
/firmware
/bnx2x
/bnx2x-e2-6.2
.9.0.fw \
99 /lib
/firmware
/bnx2x
/bnx2x-e2-7.0
.20.0.fw \
100 /lib
/firmware
/bnx2x
/bnx2x-e2-7.0
.23.0.fw \
101 /lib
/firmware
/bnx2x
/bnx2x-e2-7.0
.29.0.fw \
102 /lib
/firmware
/bnx2x
/bnx2x-e2-7.10
.51.0.fw \
103 /lib
/firmware
/bnx2x
/bnx2x-e2-7.12
.30.0.fw \
104 /lib
/firmware
/bnx2x
/bnx2x-e2-7.2
.16.0.fw \
105 /lib
/firmware
/bnx2x
/bnx2x-e2-7.2
.51.0.fw \
106 /lib
/firmware
/bnx2x
/bnx2x-e2-7.8
.17.0.fw \
107 /lib
/firmware
/bnx2x
/bnx2x-e2-7.8
.19.0.fw \
108 /lib
/firmware
/bnx2x
/bnx2x-e2-7.8
.2.0.fw \
109 /lib
/firmware
/cbfw-3.2
.1.1.bin \
110 /lib
/firmware
/cbfw-3.2
.3.0.bin \
111 /lib
/firmware
/ct2fw-3.2
.1.1.bin \
112 /lib
/firmware
/ct2fw-3.2
.3.0.bin \
113 /lib
/firmware
/ctfw-3.2
.1.1.bin \
114 /lib
/firmware
/ctfw-3.2
.3.0.bin \
115 /lib
/firmware
/intel
/ice
/ddp
/ice-1.3
.28.0.pkg \
116 /lib
/firmware
/intel
/ibt-
* \
117 /lib
/firmware
/intelliport2.bin \
118 /lib
/firmware
/mediatek
/BT_RAM_CODE_MT7922_1_1_hdr.bin \
119 /lib
/firmware
/mediatek
/BT_RAM_CODE_MT7961_1_2_hdr.bin \
120 /lib
/firmware
/tr_smctr.bin \
122 /usr
/lib
/libbfd-2.37.so \
123 /usr
/lib
/libbind9-9.16
.31.so \
124 /usr
/lib
/libdns-9.16
.31.so \
125 /usr
/lib
/libefiboot.so
.1.37 \
126 /usr
/lib
/libefivar.so
.1.37 \
127 /usr
/lib
/libhogweed.so
.6.4 \
128 /usr
/lib
/libirs-9.16
.31.so \
129 /usr
/lib
/libisc-9.16
.31.so \
130 /usr
/lib
/libisccc-9.16
.31.so \
131 /usr
/lib
/libisccfg-9.16
.31.so \
132 /usr
/lib
/libnettle.so
.8.4 \
133 /usr
/lib
/libns-9.16
.31.so \
134 /usr
/lib
/libopcodes-2.37.so \
135 /usr
/lib
/perl
5/5.32* \
136 /usr
/lib
/perl
5/site_perl
/5.32*
141 # update linker config
144 # Update Language cache
145 /usr
/local
/bin
/update-lang-cache
148 /usr
/local
/bin
/filesystem-cleanup
151 /etc
/init.d
/squid start
152 /etc
/init.d
/openvpn start
153 if grep -q "ENABLED=on" /var
/ipfire
/vpn
/settings
; then
154 /etc
/init.d
/ipsec start
157 # This update needs a reboot...
158 touch /var
/run
/need_reboot
161 /etc
/init.d
/fireinfo start
164 # Update grub config to display new core version
165 if [ -e /boot
/grub
/grub.cfg
]; then
166 grub-mkconfig
-o /boot
/grub
/grub.cfg
171 # Don't report the exitcode last command