search --no-floppy --fs-uuid --set hdswitch 0000-1234 if [ "$hdswitch" ] ; then source ($hdswitch)/switch.cfg if [ "$os_hw_switch" = 1 ] ; then # Boot directly into linux set default=0 set timeout=0 elif [ "$os_hw_switch" = 2 ] ; then # Boot directly into windows set default=2 set timeout=0 fi fi