1 2 3 4 5 6 7
#!/bin/sh while [ "x$(cat result)" = "x" ] ; do dialog --no-cancel --menu "OpenSLX Boot Menu" 20 65 <?= $this->bootmenu ?> 2>result done <?= $this->bootmenu_mapping ?>