[OpenWrt-Devel] [PATCH] [ubus 0/2] cmdline update for ubus

Zhao, Gang gang.zhao.42 at gmail.com
Thu Feb 25 21:26:59 EST 2016


This patch add timeout support for listen command.

If timeout parameter is not provided, listen command will exit after
30 seconds. This is not compatable with previous version, that is,
listen will blcok infinitely if timeout parameter is not
provided. Since it seems no user is using 'ubus listen' command in
openwrt code base, I think this may be acceptable, if not, I can
change the code so listen command will only exit if timeout
parameter is provided.

Zhao, Gang (2):
  cli: static keyword tweak
  cli: add timeout support for listen command

 cli.c | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)

-- 
2.7.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list