Magellan Linux

Diff of /smage/trunk/core/grub/mcore/files/05_mcore_header

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1905 by niro, Fri Sep 23 16:07:10 2011 UTC revision 1906 by niro, Wed Nov 9 12:12:09 2011 UTC
# Line 4  set -e Line 4  set -e
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

Legend:
Removed from v.1905  
changed lines
  Added in v.1906