aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd
Commit message (Collapse)AuthorAgeFilesLines
...
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: various cleanups to /lib/upgrade/nand.shJohn Crispin2014-06-161-126/+120
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git HEADJohn Crispin2014-06-161-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41220 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, fixes static linking of upgradedFelix Fietkau2014-06-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: allow passing multiple config files to procd_add_reload_triggerFelix Fietkau2014-06-111-1/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix overflow in hotplug socket on certain targetsSteven Barth2014-06-111-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git HEADJohn Crispin2014-06-112-4/+322
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add wrapper calls for interface triggersJohn Crispin2014-06-051-2/+35
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41006 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update, fixes a bunch of memleaksFelix Fietkau2014-05-251-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, fixes some musl compatibility issuesFelix Fietkau2014-05-251-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: depend on libubox directly to rebuild on ABI changesFelix Fietkau2014-02-231-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git headJohn Crispin2014-02-181-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: the helper script did not export all functions properlyJohn Crispin2014-02-181-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: ubox: procd: ubus: update to latest git headJohn Crispin2014-01-301-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git headJohn Crispin2014-01-201-2/+2
| | | | | | | | Fixes OpenWrt bug #14832 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39352 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update procd, add ulimit supportJohn Crispin2013-12-091-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix processing of datatype specification with spacesJo-Philipp Wich2013-11-281-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: allow users to delect debug level during bootJohn Crispin2013-11-251-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix the running hook #38868John Crispin2013-11-201-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: ubox: procd: move md5.{c,h} to libuboxJohn Crispin2013-11-191-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38822 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: remove obselete script install referenceJohn Crispin2013-11-131-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38786 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git headJohn Crispin2013-10-242-2/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix command handling in procd_add_instance()Felix Fietkau2013-10-091-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38350 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix incorrect use of sizeof() in vsnprintf()Jo-Philipp Wich2013-10-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git headJohn Crispin2013-09-301-2/+2
| | | | | | | | this fixes the syslog problem when using eglibc on x86. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix various init scriptsLuka Perkov2013-09-231-4/+3
| | | | | | | | | | | | Changes include: * removing unused variables * replacing spaces with tabs where appropriate * more consistency with variable declarations Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: convert various packages to procd style init.d scriptsJohn Crispin2013-09-171-5/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git headJohn Crispin2013-09-172-4/+20
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest version, adds udevtrigger improvements by juhosgFelix Fietkau2013-09-101-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37925 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to git headJo-Philipp Wich2013-08-161-2/+2
| | | | | | | - terminates uloop after forking in service manager - redirects stdio to /dev/null for services executed from procd git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37799 3c298f89-4303-0410-b956-a3cf2f4a3e73