mirror of
https://git.proxmox.com/git/pve-kernel-meta
synced 2025-08-08 11:37:13 +00:00
boot-tool: prefer PVE for systemd-boot loader title
like for Grub where this is handled via snippets with PVE > PMG > PBS. Reported-by: Oguz Bektas <o.bektas@proxmox.com> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
354e6f61a2
commit
40d8d36eef
@ -31,7 +31,9 @@ trap cleanup EXIT INT TERM QUIT
|
|||||||
. /usr/share/pve-kernel-helper/scripts/functions
|
. /usr/share/pve-kernel-helper/scripts/functions
|
||||||
|
|
||||||
LOADER_TITLE="Proxmox Virtual Environment"
|
LOADER_TITLE="Proxmox Virtual Environment"
|
||||||
if [ -d /usr/share/doc/proxmox-mailgateway/ ]; then
|
if [ -d /etc/pve/ ]; then
|
||||||
|
LOADER_TITLE="Proxmox Virtual Environment"
|
||||||
|
elif [ -d /usr/share/doc/proxmox-mailgateway/ ]; then
|
||||||
LOADER_TITLE="Proxmox Mailgateway"
|
LOADER_TITLE="Proxmox Mailgateway"
|
||||||
elif [ -d /usr/share/doc/proxmox-backup/ ]; then
|
elif [ -d /usr/share/doc/proxmox-backup/ ]; then
|
||||||
LOADER_TITLE="Proxmox Backup Server"
|
LOADER_TITLE="Proxmox Backup Server"
|
||||||
|
Loading…
Reference in New Issue
Block a user