projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0406a37
)
procd: add a PROCD_DEBUG variable that will dump the ubus calls from init scripts...
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 21 Mar 2014 15:54:18 +0000
(15:54 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 21 Mar 2014 15:54:18 +0000
(15:54 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39983
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/system/procd/files/procd.sh
patch
|
blob
|
history
diff --git
a/package/system/procd/files/procd.sh
b/package/system/procd/files/procd.sh
index
9a37343
..
c5dc3c6
100644
(file)
--- a/
package/system/procd/files/procd.sh
+++ b/
package/system/procd/files/procd.sh
@@
-50,6
+50,7
@@
_procd_wrapper() {
_procd_ubus_call() {
local cmd="$1"
+ [ -n "$PROCD_DEBUG" ] && json_dump >&2
ubus call service "$cmd" "$(json_dump)"
json_cleanup
}