#!/bin/sh -e
source /etc/default/grub
if [ -n "${GRUB_PASSWORD}" ]; then
cat <<EOF
set superusers="root"
export superusers
password_pbkdf2 root ${GRUB_PASSWORD}
EOF
fi
