John Crispin
1d9620a0b4
procd: update to latest git HEAD
...
fixed timeout on shutdown and cmdline param parsing
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42545
10 years ago
John Crispin
f81614594f
procd: update to latest git
...
add support for starting services as !root
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42471
10 years ago
Felix Fietkau
2dabf3a775
procd: allow adding empty strings to arrays
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42456
10 years ago
John Crispin
c23e0ed691
procd: run the mdns register outside the sub shell container
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42327
10 years ago
John Crispin
b0d9dcf84d
procd: update to latest git HEAD
...
this adds a interafce.update trigger and mdns service registration helpers
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42324
10 years ago
Felix Fietkau
5743a89fb5
procd: update to the latest version, fixes parsing of /etc/openwrt_release
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41891
10 years ago
Steven Barth
c0ad075472
procd: work around some docker architecture quirks
...
SVN-Revision: 41867
10 years ago
Felix Fietkau
caeb675a46
procd: check output of "uci show" instead of raw config files in order to track uncommitted changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41865
10 years ago
Felix Fietkau
5ce02632d1
procd: update to the latest version, fixes hotplug firmware loading issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41735
10 years ago
Imre Kaloz
ecb68ba6b4
allow overriding the kernel partition's name
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41646
10 years ago
Imre Kaloz
2ddcf5dd8a
we already have a get_magic_long() in common.sh for sysupgrade, don't break it
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41628
10 years ago
John Crispin
72efa88b64
procd: correctly identify ubifs in tar file
...
A missing path prevents the rootfs type contained in a SysupgradeNAND
tar file from being determined correctly.
This fixes it, and also corrects a minor spelling mistake.
Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 41564
10 years ago
Felix Fietkau
5aef137f9e
procd: add a shell helper function to emit a config.change event
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41482
11 years ago
Felix Fietkau
2baf4d4fb0
procd: add shell functions to add instance data
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41481
11 years ago
Felix Fietkau
b4059dea7f
procd: update to the latest version, adds support for dumping per-instance 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
11 years ago
John Crispin
9912d02fa1
procd: fix uci_validation
...
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
11 years ago
John Crispin
9b714b6e7b
procd: fix nand.sh kernel_length typo
...
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
11 years ago
John Crispin
bce52219fa
procd: update to latest git head
...
this fixes the upgraded linking issue on arm.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41279
11 years ago
John Crispin
54faeadb07
procd: various improvements to nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41278
11 years ago
John Crispin
42f450b722
procd: forgot to update the git id in the last commit
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41239
11 years ago
John Crispin
0cf34cee5e
procd: make upgarded depend on mips, the static linking on arm fails
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41238
11 years ago
John Crispin
1a3ebd51ad
procd: some cleanup for SysupgradeNAND
...
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
11 years ago
John Crispin
3dca5a158d
procd: various cleanups to /lib/upgrade/nand.sh
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41222
11 years ago
John Crispin
21eac7a7db
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41221
11 years ago
John Crispin
91d82d7b36
procd: rename procd_add_network_trigger
...
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
11 years ago
Felix Fietkau
b30b59773b
procd: update to the latest version, fixes static linking of upgraded
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41148
11 years ago
Felix Fietkau
79bbc4fbfb
procd: allow passing multiple config files to procd_add_reload_trigger
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41146
11 years ago
Steven Barth
12cdfef54c
procd: fix overflow in hotplug socket on certain targets
...
SVN-Revision: 41142
11 years ago
John Crispin
1e876b4191
procd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41129
11 years ago
Felix Fietkau
71cda6a1e0
procd: Fix USB cellular modems hotplug events
...
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
11 years ago
John Crispin
bd179b2610
procd: service instances can now report an error of why they failed to start.
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41031
11 years ago
Felix Fietkau
e4cc5c1edf
procd: update to the latest version, fixes a crash on early boot
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41020
11 years ago
John Crispin
e1e5f21b2f
procd: add wrapper calls for interface triggers
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41008
11 years ago
John Crispin
ad3c2701b6
procd: update to latest git head
...
adds support for ubus event based triggers
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41007
11 years ago
John Crispin
59c8b70839
procd: rename local variable in uci_validate_section
...
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
11 years ago
Felix Fietkau
0c383776df
procd: update, fixes a bunch of memleaks
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40856
11 years ago
Felix Fietkau
039dca04b8
procd: update to the latest version, fixes some musl compatibility issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40854
11 years ago
Felix Fietkau
93d8170084
procd: add explicit libubox dependency to force rebuild on ABI changes ( #16300 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40740
11 years ago
Felix Fietkau
84c3487e5a
procd: add a PROCD_DEBUG variable that will dump the ubus calls from init scripts to stderr
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39983
11 years ago
Felix Fietkau
0060005bd8
procd: update to latest version, fixes a format string bug in processing init script output ( #15169 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39945
11 years ago
Felix Fietkau
a42b421c79
procd: depend on libubox directly to rebuild on ABI changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39724
11 years ago
John Crispin
97ee2bc616
procd: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39613
11 years ago
John Crispin
b71eb4b5df
procd: the helper script did not export all functions properly
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39612
11 years ago
John Crispin
5dcb4cc7d1
libubox: ubox: procd: ubus: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39425
11 years ago
John Crispin
58dc9f593b
procd: update to latest git head
...
Fixes OpenWrt bug #14832
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39352
11 years ago
Jo-Philipp Wich
de5d9827ef
procd: fix service file tracking
...
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
11 years ago
John Crispin
dda5dfb765
procd: update procd, add ulimit support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39023
11 years ago
John Crispin
31a2912cd9
netifd: enable coredumps again
...
got broken due procd startup. Requires procd resource limit patch.
Signed-off-by: Ulrich Weber <uw@xyne.com>
SVN-Revision: 39020
11 years ago
Jo-Philipp Wich
387761e2fc
procd: fix processing of datatype specification with spaces
...
SVN-Revision: 38935
11 years ago
John Crispin
93e9a71538
base-files: allow users to delect debug level during boot
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38909
11 years ago