4 |
cat << EOF |
cat << EOF |
5 |
# set menu_color_normal=light-blue/black |
# set menu_color_normal=light-blue/black |
6 |
# set menu_color_highlight=light-cyan/blue |
# set menu_color_highlight=light-cyan/blue |
|
set superusers="mcore" |
|
7 |
EOF |
EOF |
8 |
|
|
9 |
if [ "x${GRUB_MCORE_PASSWORD}" = x ] |
if [ "x${GRUB_MCORE_PASSWORD}" = x ] |
10 |
then |
then |
11 |
cat << EOF |
cat << EOF |
12 |
password mcore foobar |
#set superusers="mcore" |
13 |
|
# password disabled |
14 |
EOF |
EOF |
15 |
else |
else |
16 |
cat << EOF |
cat << EOF |
17 |
|
set superusers="mcore" |
18 |
password mcore ${GRUB_MCORE_PASSWORD} |
password mcore ${GRUB_MCORE_PASSWORD} |
19 |
EOF |
EOF |
20 |
fi |
fi |