nuttx-apps/system/init
wangjianyu3 d51bb7230e system/init: Fix multi-event action triggering
Action triggered on any event before this fix (e.g. both opposite actions in
init.rc below triggered when event "boot" triggered).

init.rc

  on boot && property:sys.boot.reason=bootloader
     echo "On boot, the reason is BL."

  on boot && property:sys.boot.reason!=bootloader
     echo "On boot, the reason is not BL."

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-04-20 15:20:20 +08:00
..
CMakeLists.txt system/init: Add setprop support for action 2026-04-20 15:20:19 +08:00
Kconfig system/init: Add support for action triggers 2026-04-20 15:20:19 +08:00
Make.defs system/init: Add system init 2026-04-20 15:20:12 +08:00
Makefile system/init: Add setprop support for action 2026-04-20 15:20:19 +08:00
action.c system/init: Fix multi-event action triggering 2026-04-20 15:20:20 +08:00
action.h system/init: support compound command execution 2026-04-20 15:20:20 +08:00
builtin.c system/init: Add setprop support for action 2026-04-20 15:20:19 +08:00
builtin.h system/init: Add system init 2026-04-20 15:20:12 +08:00
import.c system/init: Add system init 2026-04-20 15:20:12 +08:00
import.h system/init: Add system init 2026-04-20 15:20:12 +08:00
init.c system/init: support compound command execution 2026-04-20 15:20:20 +08:00
init.h system/init: Add setprop support for action 2026-04-20 15:20:19 +08:00
parser.c system/init: prevent parser from reading past string boundry 2026-04-20 15:20:20 +08:00
parser.h system/init: Parse default cpu-specific configs 2026-04-20 15:20:14 +08:00
property.h system/init: Add setprop support for action 2026-04-20 15:20:19 +08:00
property_simple.c system/init: Add setprop support for action 2026-04-20 15:20:19 +08:00
service.c system/init: Add reboot_on_failure for service 2026-04-20 15:20:13 +08:00
service.h system/init: Add reboot_on_failure for service 2026-04-20 15:20:13 +08:00