Output warning in warning color

cleanup-cruft
Sebastian Pipping 14 years ago
parent d7d509f4e9
commit be190b4ec1

@ -5,6 +5,9 @@
# Distributed under the GPL v2 # Distributed under the GPL v2
# $Id$ # $Id$
31 May 2011; Sebastian Pipping <sping@gentoo.org> genkernel:
Output warning in warning color
31 May 2011; Sebastian Pipping <sping@gentoo.org> doc/genkernel.8.txt, 31 May 2011; Sebastian Pipping <sping@gentoo.org> doc/genkernel.8.txt,
genkernel: genkernel:
Document boot parameter domdadm (bug #369415) Document boot parameter domdadm (bug #369415)

@ -344,15 +344,15 @@ fi
if [ "${BUILD_RAMDISK}" = '1' ] if [ "${BUILD_RAMDISK}" = '1' ]
then then
echo echo
print_info 1 'WARNING... WARNING... WARNING...' print_warning 1 'WARNING... WARNING... WARNING...'
print_info 1 'Additional kernel cmdline arguments that *may* be required to boot properly...' print_warning 1 'Additional kernel cmdline arguments that *may* be required to boot properly...'
[ "${SPLASH}" = '1' ] && print_info 1 "add \"vga=791 splash=silent,theme:${SPLASH_THEME} console=tty1 quiet\" if you use a splash framebuffer ]" [ "${SPLASH}" = '1' ] && print_warning 1 "add \"vga=791 splash=silent,theme:${SPLASH_THEME} console=tty1 quiet\" if you use a splash framebuffer ]"
[ "${LVM}" = '1' ] && print_info 1 'add "dolvm" for lvm support' [ "${LVM}" = '1' ] && print_warning 1 'add "dolvm" for lvm support'
[ "${EVMS}" = '1' ] && print_info 1 'add "doevms" for evms support' [ "${EVMS}" = '1' ] && print_warning 1 'add "doevms" for evms support'
[ "${DMRAID}" = '1' ] && print_info 1 'add "dodmraid" for dmraid support' [ "${DMRAID}" = '1' ] && print_warning 1 'add "dodmraid" for dmraid support'
[ "${MDADM}" = '1' ] && print_info 1 'add "domdadm" for RAID support' [ "${MDADM}" = '1' ] && print_warning 1 'add "domdadm" for RAID support'
[ "${DMRAID}" = '1' ] && print_info 1 ' or "dodmraid=<additional options>"' [ "${DMRAID}" = '1' ] && print_warning 1 ' or "dodmraid=<additional options>"'
[ "${ISCSI}" = '1' ] && print_info 1 'add at least "iscsi_initiatorname=<initiator name> iscsi_target=<target name> and iscsi_address=<target ip>" for iscsi support' [ "${ISCSI}" = '1' ] && print_warning 1 'add at least "iscsi_initiatorname=<initiator name> iscsi_target=<target name> and iscsi_address=<target ip>" for iscsi support'
fi fi
[ "${BOOTRW}" != '' ] && mount -o remount,ro ${BOOTDIR} [ "${BOOTRW}" != '' ] && mount -o remount,ro ${BOOTDIR}

Loading…
Cancel
Save