Merge branch 'core51'

This commit is contained in:
Arne Fitzenreiter
2011-08-17 16:32:16 +02:00
7 changed files with 19 additions and 246 deletions

View File

@@ -0,0 +1 @@
../../../common/dhcp

View File

@@ -1,3 +1,4 @@
etc/system-release
etc/sysctl.conf
var/ipfire/langs/
var/ipfire/proxy/advanced/useragents

View File

@@ -44,12 +44,11 @@ fi
#
# check if we the backup file already exist
if [ -e /var/ipfire/backup/core-upgrade_$KVER.tar.bz2 ]; then
echo Moving backup to backup-old ...
mv -f /var/ipfire/backup/core-upgrade_$KVER.tar.bz2 \
/var/ipfire/backup/core-upgrade_$KVER-old.tar.bz2
fi
# erase old backups to prefent disk-full on small installations
rm -f /var/ipfire/backup/core-upgrade_*.tar.bz2
#
# backup
echo First we made a backup of all files that was inside of the
echo update archive. This may take a while ...
# Add some files that are not in the package to backup
@@ -80,7 +79,7 @@ cp -vf /boot/grub/grub.conf /boot/grub/grub.conf.org
/etc/init.d/snort stop
/etc/init.d/squid stop
/etc/init.d/ipsec stop
/etc/init.d/dhcp stop
#
# Unpack the updated files
#
@@ -97,12 +96,14 @@ rm -f /etc/modprobe.d/ralink_wireless
#
# Start services
#
/etc/init.d/dhcp start
/etc/init.d/squid start
/etc/init.d/snort start
if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
/etc/init.d/ipsec start
fi
#
# Modify grub.conf
#