
set root=(http,$SERVER_IP$)
set pxe_http_port=$HTTP_PORT$
set prefix=(http,$SERVER_IP$)/uis_loader/grub2

uds_func_install_mods
uds_func_set_gfx

set timeout=0

menuentry uds {   
    
    echo -en 'Downloading kernel ... '
    linux  $HTTP_IMG_ROOT$/boot/pxe/vmlinuz-uis rw ETH_NAME=eth0 HTTP_URL=http://$SERVER_IP$:$HTTP_PORT$ rdinit=/init
    
    echo -en 'OK\nDownloading initrd ... '
    initrd $HTTP_IMG_ROOT$/boot/pxe/initrd-uis.img

    echo -en 'OK\nBooting ...'
    boot
}
