5613a92f6ea111597a4845f2b43cb7e7dfa4df0c
[openwrt/staging/mkresin.git] / package / system / gpio-cdev / nu801 / files / nu801.init
1 #!/bin/sh /etc/rc.common
2 # SPDX-License-Identifier: GPL-2.0-or-later
3
4 START=15
5 STOP=94
6 USE_PROCD=1
7
8 start_service() {
9 . /lib/functions.sh
10
11 procd_open_instance
12 procd_set_param command /usr/sbin/nu801 "$(board_name)"
13 procd_set_param respawn 5 1 5
14 procd_close_instance
15 }