mirror of
https://git.proxmox.com/git/proxmox-kernel-helper
synced 2025-10-04 14:15:42 +00:00
p-b-t: pinning: output hint on next-boot only pinning
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
5708fdf695
commit
85c499d4a2
@ -591,6 +591,7 @@ case "$1" in
|
|||||||
'pin')
|
'pin')
|
||||||
if [ "$#" -eq 3 ] && [ "$3" = '--next-boot' ]; then
|
if [ "$#" -eq 3 ] && [ "$3" = '--next-boot' ]; then
|
||||||
pin_kernel "$2" "${NEXT_BOOT_PIN}"
|
pin_kernel "$2" "${NEXT_BOOT_PIN}"
|
||||||
|
echo "Pinned for next boot only."
|
||||||
elif [ "$#" -eq 2 ]; then
|
elif [ "$#" -eq 2 ]; then
|
||||||
pin_kernel "$2"
|
pin_kernel "$2"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user