mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 19:55:52 +02:00
Fix core28 updater kernel version
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
OLDVERSION=`grep "version = " /opt/pakfire/etc/pakfire.conf | cut -d'"' -f2`
|
||||
NEWVERSION="2.5"
|
||||
#
|
||||
KVER="2.6.27.21"
|
||||
KVER="2.6.27.23"
|
||||
ROOT=`grep "root=" /boot/grub/grub.conf | cut -d"=" -f2 | cut -d" " -f1 | tail -n 1`
|
||||
MOUNT=`grep "kernel" /boot/grub/grub.conf | tail -n 1`
|
||||
# Nur den letzten Parameter verwenden
|
||||
@@ -122,7 +122,7 @@ sed -i "s|$OLDVERSION|$NEWVERSION|g" /opt/pakfire/etc/pakfire.conf
|
||||
#
|
||||
# Create new issue
|
||||
#
|
||||
echo IPFire v$NEWVERSION beta1 - www.ipfire.org > /etc/issue
|
||||
echo IPFire v$NEWVERSION beta2 - www.ipfire.org > /etc/issue
|
||||
echo =================================== >> /etc/issue
|
||||
echo \\n running on \\s \\r \\m >> /etc/issue
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user