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>
syslog: fix incorrect use of sizeof() in vsnprintf()
syslog() is a blocking call on eglibc. as procd provides the actual syslog, weneed to make sure that we do not run into a deadlock. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
add a rcS helper Signed-off-by: John Crispin <blogic@openwrt.org>
fix behaviour during sysupgrade Signed-off-by: John Crispin <blogic@openwrt.org>
make a few variables static Signed-off-by: Felix Fietkau <nbd@openwrt.org>
remove an unused function Signed-off-by: Felix Fietkau <nbd@openwrt.org>
whitespace cleanup Signed-off-by: Felix Fietkau <nbd@openwrt.org>
add syslog and klog support