mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-02 00:02:55 +02:00
Updater: delete old lm-sensor modullist
This commit is contained in:
@@ -50,6 +50,7 @@ echo etc/issue >> /opt/pakfire/tmp/ROOTFILES
|
||||
echo opt/pakfire/etc/pakfire.conf >> /opt/pakfire/tmp/ROOTFILES
|
||||
echo var/spool/cron/root.orig >> /opt/pakfire/tmp/ROOTFILES
|
||||
echo etc/udev/rules.d/30-persistent-network.rules >> /opt/pakfire/tmp/ROOTFILES
|
||||
echo etc/sysconfig/lm-sensors >> /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
|
||||
@@ -60,6 +61,10 @@ echo Update IPfire to $NEWVERSON ...
|
||||
#
|
||||
rm -rf /etc/rc.d/rc3.d/S20collectd
|
||||
#
|
||||
# Delete old lm-sensor modullist...
|
||||
#
|
||||
rm -rf /etc/sysconfig/lm-sensors
|
||||
#
|
||||
# Remove old kernel, configs, initrd, modules ...
|
||||
#
|
||||
rm -rf /boot/System.map-*
|
||||
|
||||
Reference in New Issue
Block a user