summaryrefslogtreecommitdiffstats
path: root/rcS.c
AgeCommit message (Collapse)Author
2014-10-30Log startup/shutdown to consoleJohn Crispin
procd has the habit of logging startup/shutdown via rcS to syslog, which is pointless in case of a shutdown, and unlikely to be complete on a startup (as syslog is not running). Write to the console instead. Signed-off-by: Michel Stam <m.stam@fugro.nl> Signed-off-by: John Crispin <blogic@openwrt.org>
2014-09-13fix timeout on shutdownJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2014-03-18rcS: fix a format string bugFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2014-03-18rcS: do not access ustream_buf data directlyFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2014-02-07commit e0921ed71bab0ad7d2344774a33c22809eb10190 set the timeout globallyJohn Crispin
lets restrict it to stop scripts only Signed-off-by: John Crispin <blogic@openwrt.org>
2014-01-29force all runqueue tasks to a timeout of 15sJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-11-20fix rcS memory leaks and running hookJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-11-18add a function to add calls to the front of the rcS queueJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-11-15debloat and reorganize codeJohn Crispin
split app into procd and init binaries remove log support, this is an external service now Signed-off-by: John Crispin <blogic@openwrt.org>
2013-09-28syslog() is a blocking call on eglibc. as procd provides the actual syslog, ↵John Crispin
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>
2013-09-13add a way for procd to queue async init.d callsJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-05-29update rcS.c to match new runqueue api changesJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-05-09add a rcS helperJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>