summaryrefslogtreecommitdiff
path: root/package/utils/ct-bugcheck/src/bugcheck.initd
blob: b97a415bbfb9506af291dab60f5f42fe0a622f25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh /etc/rc.common
# Copyright (C) 2016 OpenWrt.org

START=99

USE_PROCD=1
PROG=/usr/bin/bugchecker.sh

# To actually make bugchecker.sh run, see comments
# at top of its file.

start_service () {
        procd_open_instance
        procd_set_param command "$PROG"
        procd_close_instance
}