mirror of
git://git.yoctoproject.org/poky
synced 2026-08-14 01:57:01 +00:00
cronie: fix init.d/crond status return value
(From OE-Core rev: da9c74917804a823bcf122b778aef273c3b64ede) Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ebe51c79e9
commit
1897cce1fc
@ -43,11 +43,8 @@ case "$1" in
|
||||
fi
|
||||
;;
|
||||
status)
|
||||
if [ -n "`/bin/pidof $CROND`" ] ; then
|
||||
echo "crond is running."
|
||||
else
|
||||
echo "crond is not running."
|
||||
fi
|
||||
status crond
|
||||
exit $?
|
||||
;;
|
||||
restart)
|
||||
$0 stop && sleep 1 && $0 start
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user