mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 19:15:54 +02:00
linux-pae: if pae is supported set pae kernel for next boot.
This commit is contained in:
@@ -71,3 +71,9 @@ echo " savedefault $ENTRY" >> /boot/grub/grub.conf
|
||||
# Create new module depency
|
||||
#
|
||||
depmod -a $KVER-ipfire-pae
|
||||
|
||||
# Default pae and request a reboot if pae is supported
|
||||
if [ ! "$(grep "^flags.* pae " /proc/cpuinfo)" == "" ]; then
|
||||
grub-set-default $ENTRY
|
||||
touch /var/run/need_reboot
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user