mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Fix updater & rootfiles
This commit is contained in:
@@ -3,7 +3,7 @@ etc/rc.d/init.d/smartenabler
|
|||||||
etc/rc.d/init.d/networking/red
|
etc/rc.d/init.d/networking/red
|
||||||
srv/web/ipfire/cgi-bin/graphs.cgi
|
srv/web/ipfire/cgi-bin/graphs.cgi
|
||||||
srv/web/ipfire/cgi-bin/hardwaregraphs.cgi
|
srv/web/ipfire/cgi-bin/hardwaregraphs.cgi
|
||||||
srv/web/ipfire/cgi-bin/network.cgi
|
#srv/web/ipfire/cgi-bin/network.cgi
|
||||||
srv/web/ipfire/cgi-bin/optionsfw.cgi
|
srv/web/ipfire/cgi-bin/optionsfw.cgi
|
||||||
srv/web/ipfire/cgi-bin/proxy.cgi
|
srv/web/ipfire/cgi-bin/proxy.cgi
|
||||||
usr/local/bin/makegraphs
|
usr/local/bin/makegraphs
|
||||||
|
|||||||
@@ -28,9 +28,8 @@ srv/web/ipfire/cgi-bin/connections.cgi
|
|||||||
srv/web/ipfire/cgi-bin/graphs.cgi
|
srv/web/ipfire/cgi-bin/graphs.cgi
|
||||||
srv/web/ipfire/cgi-bin/pppsetup.cgi
|
srv/web/ipfire/cgi-bin/pppsetup.cgi
|
||||||
srv/web/ipfire/cgi-bin/netexternal.cgi
|
srv/web/ipfire/cgi-bin/netexternal.cgi
|
||||||
srv/web/ipfire/cgi-bin/netinernal.cgi
|
srv/web/ipfire/cgi-bin/netinternal.cgi
|
||||||
srv/web/ipfire/cgi-bin/netother.cgi
|
srv/web/ipfire/cgi-bin/netother.cgi
|
||||||
|
|
||||||
srv/web/ipfire/cgi-bin/system.cgi
|
srv/web/ipfire/cgi-bin/system.cgi
|
||||||
srv/web/ipfire/cgi-bin/ids.cgi
|
srv/web/ipfire/cgi-bin/ids.cgi
|
||||||
var/ipfire/sensors/
|
var/ipfire/sensors/
|
||||||
|
|||||||
@@ -56,6 +56,9 @@ echo var/updatexlerator >> /opt/pakfire/tmp/ROOTFILES
|
|||||||
echo lib/iptables >> /opt/pakfire/tmp/ROOTFILES
|
echo lib/iptables >> /opt/pakfire/tmp/ROOTFILES
|
||||||
echo lib/modules >> /opt/pakfire/tmp/ROOTFILES
|
echo lib/modules >> /opt/pakfire/tmp/ROOTFILES
|
||||||
echo boot >> /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 \
|
tar cjvf /var/ipfire/backup/update_$OLDVERSION-$NEWVERSION.tar.bz2 \
|
||||||
-T /opt/pakfire/tmp/ROOTFILES --exclude='#*' -C / > /dev/null 2>&1
|
-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
|
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...
|
# Delete old iptables libs...
|
||||||
#
|
#
|
||||||
rm -rf /lib/iptables
|
rm -rf /lib/iptables
|
||||||
|
|||||||
Reference in New Issue
Block a user