mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add new hook for bootmessage
This commit is contained in:
parent
60ff6d1fa9
commit
4bb5643794
1 changed files with 17 additions and 0 deletions
17
usr/lib/initcpio/install/arch_bootmessage_x86_64
Normal file
17
usr/lib/initcpio/install/arch_bootmessage_x86_64
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
build ()
|
||||
{
|
||||
### generate boot.msg
|
||||
[ -s "${APPENDBOOTMESSAGE}" ] && cat ${APPENDBOOTMESSAGE} >> ${BOOTMESSAGE}
|
||||
[ -s "${APPENDOPTIONSBOOTMESSAGE}" ] && cat ${APPENDOPTIONSBOOTMESSAGE} >> ${OPTIONSBOOTMESSAGE}
|
||||
}
|
||||
|
||||
help ()
|
||||
{
|
||||
cat <<HELPEOF
|
||||
This hook sets up dynamically the boot message, depending on
|
||||
your system.
|
||||
HELPEOF
|
||||
}
|
Loading…
Reference in a new issue