+## avoid user confusion when they boot an installer with video=ofonly
+## (usually via a install-safe label) and then reboot and have the box
+## not boot properly again.
+if [ -z "$APPEND" ] ; then
+ if (grep -q '\<video=ofonly\>' /proc/cmdline 2> /dev/null) ; then
+ APPEND="\tappend=\"video=ofonly\"\n"
+ fi
+fi
+