aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd
Commit message (Collapse)AuthorAgeFilesLines
* procd: add a shell helper function to emit a config.change eventFelix Fietkau2014-07-021-0/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41482
* procd: add shell functions to add instance dataFelix Fietkau2014-07-021-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41481
* procd: update to the latest version, adds support for dumping per-instance ↵Felix Fietkau2014-07-021-2/+2
| | | | | | | | | | service data with an optional type filter also fixes a crash on stopping a service with triggers after reloading it Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41478
* procd: fix uci_validationJohn Crispin2014-06-302-2/+10
| | | | | | | | | | Regardles of the return code from validate_data _error variable will be 0 due to 'local' command in the previous line. With this patch we are able to catch the return code from validate_data tool. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41414
* procd: fix nand.sh kernel_length typoJohn Crispin2014-06-241-2/+2
| | | | | | | | | | sysupgrade otherwise skips kernel part on devices which got kernel in ubi due to kern_length being undefined, kernel_length is being used instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41327
* procd: update to latest git headJohn Crispin2014-06-191-4/+4
| | | | | | | | this fixes the upgraded linking issue on arm. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41279
* procd: various improvements to nand.shJohn Crispin2014-06-191-7/+33
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41278
* procd: forgot to update the git id in the last commitJohn Crispin2014-06-171-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41239
* procd: make upgarded depend on mips, the static linking on arm failsJohn Crispin2014-06-171-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41238
* procd: some cleanup for SysupgradeNANDJohn Crispin2014-06-171-6/+3
| | | | | | | | | | Removed unused ubi file file from template as ubinized images are passed directly and not inside the tarball. Also removed left-over white-space. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41237
* procd: various cleanups to /lib/upgrade/nand.shJohn Crispin2014-06-161-126/+120
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41222
* procd: update to latest git HEADJohn Crispin2014-06-161-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41221
* procd: rename procd_add_network_triggerJohn Crispin2014-06-161-3/+4
| | | | | | | | i got complaints about the bad naming of the api. lets rename it while there are no users yet. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41220
* procd: update to the latest version, fixes static linking of upgradedFelix Fietkau2014-06-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41148
* procd: allow passing multiple config files to procd_add_reload_triggerFelix Fietkau2014-06-111-1/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41146
* procd: fix overflow in hotplug socket on certain targetsSteven Barth2014-06-111-2/+2
| | | | SVN-Revision: 41142
* procd: update to latest git HEADJohn Crispin2014-06-112-4/+322
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41129
* procd: Fix USB cellular modems hotplug eventsFelix Fietkau2014-06-071-4/+4
| | | | | | | | | | Without this patch, /etc/hotplug.d/tty/30-3g won't be called when you insert or remove a USB-serial cellular modem. (see Ticket #14117) Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> SVN-Revision: 41039
* procd: service instances can now report an error of why they failed to start.John Crispin2014-06-062-2/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41031
* procd: update to the latest version, fixes a crash on early bootFelix Fietkau2014-06-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41020
* procd: add wrapper calls for interface triggersJohn Crispin2014-06-051-2/+35
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41008
* procd: update to latest git headJohn Crispin2014-06-051-2/+2
| | | | | | | | adds support for ubus event based triggers Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41007
* procd: rename local variable in uci_validate_sectionJohn Crispin2014-06-051-9/+9
| | | | | | | | | | | | | | Allow to use "package", "type", "name", "error" and "result" as config option names: package some_service config section 'foo' option name 'bar' option type 'unknown' Signed-off-by: Maxim Storchak <m.storchak@gmail.com> SVN-Revision: 41006
* procd: update, fixes a bunch of memleaksFelix Fietkau2014-05-251-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40856
* procd: update to the latest version, fixes some musl compatibility issuesFelix Fietkau2014-05-251-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40854
* procd: add explicit libubox dependency to force rebuild on ABI changes (#16300)Felix Fietkau2014-05-091-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40740
* procd: add a PROCD_DEBUG variable that will dump the ubus calls from init ↵Felix Fietkau2014-03-211-0/+1
| | | | | | | | scripts to stderr Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39983
* procd: update to latest version, fixes a format string bug in processing ↵Felix Fietkau2014-03-181-2/+2
| | | | | | | | init script output (#15169) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39945
* procd: depend on libubox directly to rebuild on ABI changesFelix Fietkau2014-02-231-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39724
* procd: update to latest git headJohn Crispin2014-02-181-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39613
* procd: the helper script did not export all functions properlyJohn Crispin2014-02-181-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39612
* libubox: ubox: procd: ubus: update to latest git headJohn Crispin2014-01-301-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39425
* procd: update to latest git headJohn Crispin2014-01-201-2/+2
| | | | | | | | Fixes OpenWrt bug #14832 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39352
* procd: fix service file trackingJo-Philipp Wich2013-12-181-2/+2
| | | | | | | | | | | | | | | The instance_config_move() function in the procd instance managing code is missing a blobmsg_list_move() call to update the tracked file items with the newly calculated checksums in case of a file change. Without that change, services are always reloaded after the first change to a tracked file regardless of whether there are any subsequent changes or not. Add a missing instance of blobmsg_list_free() as well. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 39132
* procd: update procd, add ulimit supportJohn Crispin2013-12-091-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39023
* netifd: enable coredumps againJohn Crispin2013-12-091-2/+3
| | | | | | | | got broken due procd startup. Requires procd resource limit patch. Signed-off-by: Ulrich Weber <uw@xyne.com> SVN-Revision: 39020
* procd: fix processing of datatype specification with spacesJo-Philipp Wich2013-11-281-2/+2
| | | | SVN-Revision: 38935
* base-files: allow users to delect debug level during bootJohn Crispin2013-11-251-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38909
* procd: update procd.sh to make use of the new validate_data toolJohn Crispin2013-11-251-52/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38908
* procd: fix the running hook #38868John Crispin2013-11-201-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38885
* libubox: ubox: procd: move md5.{c,h} to libuboxJohn Crispin2013-11-191-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38870
* procd: update to latest git headJohn Crispin2013-11-191-2/+2
| | | | | | | | | | | | * fix up the order of respawn parameters for ubus * add a event broadcast function * add debug level handover between preinit and main process * make the service running trigger be queued directly after the service was startetd * Allow process respawning forever Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38868
* procd: emit tty events for ttyUSB* even when they come from the usb-serial ↵Felix Fietkau2013-11-191-7/+10
| | | | | | | | subsystem Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38862
* procd: ubox: update to latest git headJohn Crispin2013-11-162-63/+4
| | | | | | | | | | move log service from procd to ubox some debloating on procd the preinit part of procd is now also a seperate binary Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38822
* procd: remove obselete script install reference Signed-off-by: John Crispin ↵John Crispin2013-11-131-1/+1
| | | | | | <blogic@openwrt.org> SVN-Revision: 38790
* procd: options with default values are not parsed properly in the ubus ↵John Crispin2013-11-131-1/+2
| | | | | | | | register code Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38788
* procd: update to latest git headJohn Crispin2013-11-132-14/+81
| | | | | | | | this includes the first wip version of the uci validation backend Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38786
* procd: reduce the number of unnecessary calls to /sbin/hotplug-call for tty ↵Felix Fietkau2013-11-101-2/+8
| | | | | | | | devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38705
* procd: update to latest git headJohn Crispin2013-11-081-2/+2
| | | | | | | | make sure that automatic respawning is turned off during upgrade Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38695
* procd: update to latest git headJohn Crispin2013-10-242-2/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38529