procd: lower the logging threshold Signed-off-by: John Crispin <john@phrozen.org>
trigger: replace trigger_init() with static runqueue initialization Signed-off-by: Felix Fietkau <nbd@nbd.name>
procd: add an option to log to stdout Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Convert log calls to ulog() api Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
call setsid during startup. this fixes a bug where pgrp was not set up properly leading to a trail of carnage; Signed-off-by: John Crispin <blogic@openwrt.org>
Fix ctrl+alt+del support The previous patch did not catch SIGINT, which is used by the kernel to indicate to the init process that the system should reboot. Signed-off-by: Michel Stam <m.stam@fugro.nl>
make procd handle ctrl+alt+del Signed-off-by: John Crispin <blogic@openwrt.org>
cleanup debug level handover Signed-off-by: John Crispin <blogic@openwrt.org>
add debug level handover between preinit and main process Signed-off-by: John Crispin <blogic@openwrt.org>
debloat and reorganize code split app into procd and init binaries remove log support, this is an external service now Signed-off-by: John Crispin <blogic@openwrt.org>