ct-bugcheck: Add tools to poll for and report ath10k firmware crashes.
[openwrt/staging/yousong.git] / package / utils / ct-bugcheck / src / bugcheck.initd
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2016 OpenWrt.org
3
4 START=99
5
6 USE_PROCD=1
7 PROG=/usr/bin/bugchecker.sh
8
9 # To actually make bugchecker.sh run, see comments
10 # at top of its file.
11
12 start_service () {
13 procd_open_instance
14 procd_set_param command "$PROG"
15 procd_close_instance
16 }