Ignore:
Timestamp:
01/13/09 18:15:46 (3 years ago)
Author:
tschmitt
Message:
  • Aktualisierung von cloop auf Version 2.628.
  • Neue start.conf-KERNEL-Wert "reboot" für Windows-Systeme, veranlasst einen Reboot des Clients anstatt das BS zu starten.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/linuxmuster-linbo/trunk/linbo/linbo_cmd.sh

    r414 r416  
    548548  case "$3" in 
    549549   *[Gg][Rr][Uu][Bb].[Ee][Xx][Ee]*) 
    550     # Load grub.exe preferably from cache partition, if present 
    551 #    if [ -r "/cache/$3" ]; then 
    552 #     KERNEL="/cache/$3" 
    553      # mkgrubmenu "$1" 
    554      # grub-set-default --root-directory=/cache 1 
    555      #WINDOWS="yes" 
    556 #     LOADED="true" 
    557 #    fi 
    558 #    [ -r "$KERNEL" ] || KERNEL="/usr/lib/grub.exe" # Use builtin 
    559550    # tschmitt: use builtin grub.exe or badgrub.exe in any case 
    560551    KERNEL="/usr/lib/$3" 
     
    563554    [ -z "$APPEND" ] && APPEND="--config-file=map(rd) (hd0,0); map --hook; chainloader (hd0,0)/ntldr; rootnoverify(hd0,0) --device-map=(hd0) $disk" 
    564555    ;; 
    565    *[Pp][Xx][Ee][Gg][Rr][Uu][Bb]*) 
    566      # tschmitt: if kernel is pxegrub assume that it is a real windows, which has to be rebootet 
     556   *[Rr][Ee][Bb][Oo][Oo][Tt]*) 
     557     # tschmitt: if kernel is "reboot" assume that it is a real windows, which has to be rebootet 
    567558     WINDOWS="yes" 
    568559     LOADED="true" 
     
    572563      grub-set-default --root-directory=/cache 1 
    573564     fi 
    574      # oehler: set windows boot flag 
    575      flag="$(printf '\%o' 1)" 
    576      echo -n -e "$flag" | dd seek=432 bs=1 count=1 of=$disk conv=notrunc 
    577565     ;; 
    578566   *) 
     
    641629   sleep 2 
    642630   reboot -f 
    643    sleep 10 
     631   #sleep 10 
    644632  fi 
    645633 else 
Note: See TracChangeset for help on using the changeset viewer.