X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=config%2Frootfiles%2Fcore%2F66%2Fupdate.sh;h=e0a787584e762a3d33991a2e3c0898131cee1468;hp=c76f3c728d5814852cd3e8c9c242e2bb13b53639;hb=2ad0c24a00c26a1b3ee84f189a774d0263dc6bd1;hpb=92d75b2ed53e72427beab0dbda8f06577d42e4c5 diff --git a/config/rootfiles/core/66/update.sh b/config/rootfiles/core/66/update.sh index c76f3c728..e0a787584 100644 --- a/config/rootfiles/core/66/update.sh +++ b/config/rootfiles/core/66/update.sh @@ -78,7 +78,7 @@ fi # # -KVER="3.2.37" +KVER="3.2.38" MOUNT=`grep "kernel" /boot/grub/grub.conf 2>/dev/null | tail -n 1 ` # Nur den letzten Parameter verwenden echo $MOUNT > /dev/null @@ -111,6 +111,7 @@ add_to_backup usr/share/terminfo add_to_backup etc/sysconfig/lm_sensors add_to_backup etc/sysconfig/rc.local add_to_backup usr/local/bin/vpn-watch +add_to_backup usr/local/bin/updxsetperms add_to_backup usr/libexec/ipsec # Backup the files @@ -126,6 +127,9 @@ if [ $ROOTSPACE -lt 70000 ]; then exit 2 fi +# Add user nobody to group squid. +usermod -a -G squid nobody + echo echo Update Kernel to $KVER ... # @@ -184,6 +188,9 @@ rm -rf /lib/libncurses* rm -f /usr/libexec/ipsec/{pluto,_pluto_adns,whack} rm -f /usr/local/bin/vpn-watch +# Remove update accelerator permissions script. +rm -f /usr/local/bin/updxsetperms + # #Extract files tar xavf /opt/pakfire/tmp/files* --no-overwrite-dir -p --numeric-owner -C / @@ -287,6 +294,7 @@ case $(uname -m) in # # ReInstall grub # + echo "(hd0) ${ROOT::`expr length $ROOT`-1}" > /boot/grub/device.map grub-install --no-floppy ${ROOT::`expr length $ROOT`-1} ;; esac @@ -320,8 +328,8 @@ if [ ! "$(grep "^flags.* pae " /proc/cpuinfo)" == "" ]; then "core-update-$core: WARNING not enough space for pae kernel." else echo "Name: linux-pae" > /opt/pakfire/db/installed/meta-linux-pae - echo "ProgVersion: 3.2.37" >> /opt/pakfire/db/installed/meta-linux-pae - echo "Release: 26" >> /opt/pakfire/db/installed/meta-linux-pae + echo "ProgVersion: 3.2.38" >> /opt/pakfire/db/installed/meta-linux-pae + echo "Release: 27" >> /opt/pakfire/db/installed/meta-linux-pae fi fi