Ben Hutchings 79f49b96ba {hooks,scripts}/keymap: Use setupcon --setup-dir
setupcon gained a --setup-dir option to support initramfs builders,
documented since console-setup 1.111.  Use this to simplify our
own scripts.

Related-to: #620041
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-02-04 03:16:37 +01:00

19 lines
167 B
Bash
Executable File

#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
if [ -x /bin/setupcon ]; then
/bin/setupcon
fi