mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-02 00:02:55 +02:00
Fix updater & rootfiles
This commit is contained in:
@@ -56,6 +56,9 @@ echo var/updatexlerator >> /opt/pakfire/tmp/ROOTFILES
|
||||
echo lib/iptables >> /opt/pakfire/tmp/ROOTFILES
|
||||
echo lib/modules >> /opt/pakfire/tmp/ROOTFILES
|
||||
echo boot >> /opt/pakfire/tmp/ROOTFILES
|
||||
echo srv/web/ipfire/cgi-bin/fwhits.cgi >> /opt/pakfire/tmp/ROOTFILES
|
||||
echo srv/web/ipfire/cgi-bin/network.cgi >> /opt/pakfire/tmp/ROOTFILES
|
||||
echo srv/web/ipfire/cgi-bin/traffics.cgi >> /opt/pakfire/tmp/ROOTFILES
|
||||
#
|
||||
tar cjvf /var/ipfire/backup/update_$OLDVERSION-$NEWVERSION.tar.bz2 \
|
||||
-T /opt/pakfire/tmp/ROOTFILES --exclude='#*' -C / > /dev/null 2>&1
|
||||
@@ -70,6 +73,12 @@ rm -rf /etc/rc.d/rc3.d/S20collectd
|
||||
#
|
||||
rm -rf /etc/rc.d/rc3.d/S99squid
|
||||
#
|
||||
# Delete old cgi files ...
|
||||
#
|
||||
rm -rf /srv/web/ipfire/cgi-bin/fwhits.cgi
|
||||
rm -rf /srv/web/ipfire/cgi-bin/network.cgi
|
||||
rm -rf /srv/web/ipfire/cgi-bin/traffics.cgi
|
||||
#
|
||||
# Delete old iptables libs...
|
||||
#
|
||||
rm -rf /lib/iptables
|
||||
|
||||
Reference in New Issue
Block a user