Re: [PATCH] startup: add $global.autoboot to make behavior configurable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 4/20/20 4:08 PM, Sascha Hauer wrote:
>> +	globalvar_add_simple_enum("autoboot",
>> +				  &autoboot_state,
>> +				  autoboot_states,
>> +				  ARRAY_SIZE(autoboot_states));
> 
> Please add a MAGICVAR description for this.

Will do.

> Setting it to AUTOBOOT_BOOT seems a bit dangerous, there's no way back
> if booting goes wrong.

You can still abort init itself with ctrl+c, not much different than when
using normal countdown.

> 
> Sascha
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux