mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
ARM kernel is not compressed, deal with that
This commit is contained in:
parent
892d881638
commit
349b210203
@ -7,7 +7,8 @@ fi
|
||||
echo "===> Keeping a copy of current kernel in /boot/kernel.old"
|
||||
|
||||
# Check if there is a current kernel to be moved
|
||||
if [ ! -f /boot/kernel/kernel.gz ]; then
|
||||
if [ ! -f /boot/kernel/kernel.gz ] \
|
||||
&& [ ! -f /boot/kernel/kernel ]; then
|
||||
echo "ERROR: Current kernel not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user