cli: implement wait_for
authorFelix Fietkau <nbd@openwrt.org>
Tue, 6 May 2014 14:55:34 +0000 (16:55 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 6 May 2014 14:58:11 +0000 (16:58 +0200)
commit9fda19140e65457d967ff6fe424e420f656c06c9
tree5ac71fb8318515b41e3f7477248c41ea800cadc4
parent6dffecb36bf6d813e9f9c53de52103054b5abfdd
cli: implement wait_for

Allows waiting for one or more objects to appear
Returns instantly if objects are already present

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
cli.c