]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Updater: delete old lm-sensor modullist
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 24 Aug 2008 16:16:25 +0000 (18:16 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 24 Aug 2008 16:16:25 +0000 (18:16 +0200)
config/rootfiles/updater/update.sh

index bf1f37410b563e7536bf8d2019d3b1333efe8120..8a749cdee832d89679145c4f8584cc8fead2d0b6 100755 (executable)
@@ -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-*