loboris / Odroid_Multiboot

Boot menu and tools for Odroid C1, C2 & XU3/XU4
23 stars 14 forks source link

changing default os / boot is not working #4

Open dev-jam opened 7 years ago

dev-jam commented 7 years ago

Changing default os in boot.ini.multi does not work.

boot.ini.multi uses:

default_os=${DEFAULT_OS}

init file uses:

DEFAULTBOOT="${x#default_boot=}"

Solution: two changes in 'init':

default_boot=*) DEFAULTBOOT="${x#default_boot=}"

default_os=*) DEFAULTBOOT="${x#default_os=}"

But you might want to use the same variable name in all scripts for ease of coding.

crazyquark commented 7 years ago

I also have this issue