mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Add dialer to updater
Reinstall grub after kernel update again dialer changes for pin handling
This commit is contained in:
@@ -3,6 +3,7 @@ etc/init.d/mISDN
|
||||
etc/modprobe.d/blacklist
|
||||
usr/bin/bc
|
||||
usr/bin/dc
|
||||
etc/ppp/dialer
|
||||
etc/rc.d/init.d/checkfstab
|
||||
etc/rc.d/rcsysinit.d/S19checkfstab
|
||||
etc/rc.d/init.d/dhcp
|
||||
|
||||
@@ -54,6 +54,8 @@ echo etc/sysconfig/lm_sensors >> /opt/pakfire/tmp/ROOTFILES
|
||||
echo var/log/rrd >> /opt/pakfire/tmp/ROOTFILES
|
||||
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
|
||||
#
|
||||
tar cjvf /var/ipfire/backup/update_$OLDVERSION-$NEWVERSION.tar.bz2 \
|
||||
-T /opt/pakfire/tmp/ROOTFILES --exclude='#*' -C / > /dev/null 2>&1
|
||||
@@ -64,6 +66,10 @@ echo Update IPfire to $NEWVERSION ...
|
||||
#
|
||||
rm -rf /etc/rc.d/rc3.d/S20collectd
|
||||
#
|
||||
# Delete squid symlink
|
||||
#
|
||||
rm -rf /etc/rc.d/rc3.d/S99squid
|
||||
#
|
||||
# Delete old iptables libs...
|
||||
#
|
||||
rm -rf /lib/iptables
|
||||
@@ -126,6 +132,10 @@ fi
|
||||
mkinitcpio -k $KVER-ipfire -g /boot/ipfirerd-$KVER.img
|
||||
#mkinitcpio -k $KVER-ipfire-smp -g /boot/ipfirerd-$KVER-smp.img
|
||||
#
|
||||
# ReInstall grub
|
||||
#
|
||||
grub-install --no-floppy ${ROOT::`expr length $ROOT`-1}
|
||||
#
|
||||
# Change version of Pakfire.conf
|
||||
#
|
||||
sed -i "s|$OLDVERSION|$NEWVERSION|g" /opt/pakfire/etc/pakfire.conf
|
||||
|
||||
Reference in New Issue
Block a user