Sophie

Sophie

distrib > Mageia > 6 > armv5tl > by-pkgid > 6137b9c364454e8af99b0341a6c149ab > files > 7

grub2-common-2.02.0-1.mga6.armv5tl.rpm

#!/bin/sh -e
cat << EOF
if [ -f \${prefix}/user.cfg ]; then
  source \${prefix}/user.cfg
  if [ -n "\${GRUB2_PASSWORD}" ]; then
    set superusers="root"
    export superusers
    password_pbkdf2 root \${GRUB2_PASSWORD}
  fi
fi
EOF