Contents of /smage/trunk/core/grub/mcore/files/05_mcore_header
Parent Directory | Revision Log
Revision 1906 -
(show annotations)
(download)
Wed Nov 9 12:12:09 2011 UTC (12 years, 5 months ago) by niro
File size: 317 byte(s)
Wed Nov 9 12:12:09 2011 UTC (12 years, 5 months ago) by niro
File size: 317 byte(s)
-possibilty to enable or disable password for user 'mcore'
1 | #!/bin/sh |
2 | set -e |
3 | |
4 | cat << EOF |
5 | # set menu_color_normal=light-blue/black |
6 | # set menu_color_highlight=light-cyan/blue |
7 | EOF |
8 | |
9 | if [ "x${GRUB_MCORE_PASSWORD}" = x ] |
10 | then |
11 | cat << EOF |
12 | #set superusers="mcore" |
13 | # password disabled |
14 | EOF |
15 | else |
16 | cat << EOF |
17 | set superusers="mcore" |
18 | password mcore ${GRUB_MCORE_PASSWORD} |
19 | EOF |
20 | fi |