mirror of
https://github.com/ISpillMyDrink/OpenSuperClone.git
synced 2026-05-03 21:40:33 +00:00
68 lines
1010 B
Plaintext
68 lines
1010 B
Plaintext
seti $printhelp = $printhelp
|
|
|
|
while 1 = 1
|
|
echo " "
|
|
echo "Device information menu"
|
|
echo "q) Quit"
|
|
echo "p) Previous menu"
|
|
echo "h) Toggle script help
|
|
echo "1) USB test 1"
|
|
echo "2) USB test 2"
|
|
echo "3) USB test 3"
|
|
echo "4) USB test 4"
|
|
echo "5) USB test 5"
|
|
|
|
|
|
if $printhelp = 1
|
|
exit 0
|
|
endif
|
|
|
|
echo "Enter your choice:
|
|
userinput $choicestring
|
|
|
|
if $choicestring = q
|
|
break
|
|
|
|
elseif $choicestring = p
|
|
previousscript
|
|
|
|
elseif $choicestring = h
|
|
if $help = 0
|
|
seti $help = 1
|
|
echo "Help is now turned on"
|
|
else
|
|
seti $help = 0
|
|
echo "Help is now turned off"
|
|
endif
|
|
|
|
elseif $choicestring = 1
|
|
loadscript usb_test1
|
|
break
|
|
|
|
elseif $choicestring = 2
|
|
loadscript usb_test2
|
|
break
|
|
|
|
elseif $choicestring = 3
|
|
loadscript usb_test3
|
|
break
|
|
|
|
elseif $choicestring = 4
|
|
loadscript usb_test4
|
|
break
|
|
|
|
elseif $choicestring = 5
|
|
loadscript usb_test5
|
|
break
|
|
|
|
|
|
|
|
|
|
else
|
|
echo "bad choice= " $choicestring
|
|
endif
|
|
|
|
|
|
|
|
done
|
|
end |