Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 192 |
- |
1 |
#!/bin/sh -e
|
|
|
2 |
cat << EOF
|
|
|
3 |
if [ -f \${prefix}/user.cfg ]; then
|
|
|
4 |
source \${prefix}/user.cfg
|
|
|
5 |
if [ -n "\${GRUB2_PASSWORD}" ]; then
|
|
|
6 |
set superusers="root"
|
|
|
7 |
export superusers
|
|
|
8 |
password_pbkdf2 root \${GRUB2_PASSWORD}
|
|
|
9 |
fi
|
|
|
10 |
fi
|
|
|
11 |
EOF
|