It's /lib/dpdk/dpdk-init status not /lib/dpdk/dpdk-init --status
Change-Id: I45015657df84bea1727046329f1c082d41008bb7
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
try-restart|restart|force-reload)
;;
status)
try-restart|restart|force-reload)
;;
status)
- output=$(/lib/dpdk/dpdk-init --status 2>&1) || error="$?"
+ output=$(/lib/dpdk/dpdk-init status 2>&1) || error="$?"
if [ ! -z "$output" ]; then
echo "$output" | while read line; do
log_action_cont_msg "$line"
if [ ! -z "$output" ]; then
echo "$output" | while read line; do
log_action_cont_msg "$line"