Skip to content
Commit 0d9adcd6 authored by Liang Li's avatar Liang Li Committed by Joe MacDonald
Browse files

radvd: eliminate confusing warnings when stop service



When run 'service radvd stop' in case radvd is not started/running,
we'll get warnings like this:

Stopping radvd: no /usr/sbin/radvd found; none killed
/etc/init.d/radvd: warning: cannot restore settings
radvd.

We could by pass these OPs by just check if the service is running
or not so eliminate possible warnings.

Signed-off-by: default avatarLiang Li <liang.li@windriver.com>
Signed-off-by: default avatarJoe MacDonald <joe@deserted.net>
parent 42da6554
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment