]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - updates/1.4.2/setup
621143fe6186a0efe2fcbc5422a21175112a0b7e
3 echo "This is the 1.4.2 update patch for IPCop 1.4.1 installing."
5 CURRENTVERSION
=`cat /etc/issue | awk '{ print $2 }' | sed -e 's/v//'`
8 if [ "$CURRENTVERSION" != "1.4.1" -a "$CURRENTVERSION" != "1.4.2" ]; then
9 echo "You are not running IPCop v1.4.1 for this patch to install."
10 echo "Aborting installation."
14 /bin
/tar -zxpf patch.
tar.gz
-C /
16 /bin
/rm -f /var
/run
/need-depmod-
`uname -r`
18 # shift eciadsl data to /etc (modems.db use a different format)
19 /bin
/rm -f /var
/ipcop
/eciadsl
/{firmware00.bin
,modems.db
}
21 # Fix leases problem (ends never) should have been done in 1.4.1 upgrade
23 rm -f /var
/state
/dhcp
/*
24 touch /var
/state
/dhcp
/dhcpd.leases
25 /usr
/local
/bin
/restartdhcp