beaver init.d script is_up function fixed

In some systems beaver init.d _is_up(_) function doesn't work properly.