summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-07-14logread should handle return code when sending data over the netJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-11fix wdt cloexec bugJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-11fix up watchdog init codeJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-10print services with no instances when verbose is setJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-10fix service level triggersJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-10make the verbose argument a boolJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-10invalid pointer was passed to free()John Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-10remove bogus subscriberJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-10remove support fro trigegrs not linked to a serviceJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-09the delete handle should return an error if no service is named instead of ↵John Crispin
killing all services Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-09Fix logread file loggingJohn Crispin
This patch fixes logread and now appends to files instead of writting to the beginning the specified logfile. It also sets the access rights to 0600. Signed-off-by: Peter Wagner <tripolar@gmx.at>
2013-07-09fix up the loging over networkJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-08dont list services that have no instancesJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-08close stdin/out/err before forking an instanceJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-08remove superflous defineJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-08extend logreadJohn Crispin
* log to file * add pidfile support * reconnect when logging over network
2013-07-08bugfix of error handling while open()Thomas Huehn
The normal return value from open() is a non-negative integer. In the case of an error, a value of -1 is returned instead. Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
2013-07-04add trigger supportJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-03properly fix umask handlingJohn Crispin
https://dev.openwrt.org/ticket/13752 https://dev.openwrt.org/ticket/13794 Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-03add 2 second sleep before rebootingJohn Crispin
stderr is lost without this whena crash happens Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-29add support for the system.event nodeJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-27get rid of sleep() callsJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-27make ubus handling use uloop timersJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-24set global umask to 0John Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-24add respawn supportJohn Crispin
https://dev.openwrt.org/ticket/13751 Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-19make add facility and level to logread outputJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-14drop good bye messageJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-13register the system namespace on ubus regardless of the pidJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-10we dont want to continue booting if sysupgrade is in progressJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-04merge ubus system namespace from rpcd codebaseJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-04load modules from /etc/modules-boot.d/ before preinitJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-05-31restart stopped instances on updateFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-05-31turn instance exit message into a debug messageFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-05-30make sure path exists before mknod is calledJohn 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-11logreadJohn Crispin
2013-05-09add a rcS helperJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-04-25fix 32 wrap around bug when handling 64 bit time valuesJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-04-23ignore sigpipeJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-04-23fix behaviour during sysupgradeJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-04-23make reboot work without -f in failsafeJohn Crispin
Singed-off-by: John Crispin <blogic@openwrt.org>
2013-04-07watchdog: add support for starting/stopping watchdog refreshFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-03-16make a few variables staticFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-03-16remove an unused functionFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-03-16whitespace cleanupFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-03-16get rid of perror() calls, use ERROR() insteadFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-03-14fix up the mount options to match what openwrt had before using procd as pid 1John Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-03-13add license headersJohn Crispin
2013-03-13add new main.c and fix Makefile/headersJohn Crispin
2013-03-13DPRINTF no longer existsJohn Crispin