| #!/bin/sh |
| . ./wvtest/wvtest.sh |
| |
| running() { |
| [ -n "$(pgrep -x "$1")" ] |
| } |
| |
| running_full() { |
| [ -n "$(pgrep -f "$1")" ] |
| } |
| |
| WVSTART "service_check" |
| |
| # System services |
| WVPASS running gpio-mailbox |
| WVPASS running klogd |
| WVPASS running mocad |
| WVPASS running ntpd |
| WVPASS running syslogd |
| WVPASS running sysmgr |
| WVPASS running cwmpd |
| |
| # TV services |
| WVPASS running miniclient |
| WVPASS running siege |
| |
| # Helper services |
| WVPASS running cpulog |
| WVPASS running_full upload-logs-loop |
| |
| # Platform dependent |
| if is-storage-box; then |
| WVPASS running nmbd |
| WVPASS running sagesrv |
| WVPASS running smbd |
| fi |