aboutsummaryrefslogtreecommitdiff
path: root/package/system/gpio-cdev/nu801/files/nu801.init
blob: a29554ae304b2033d2e30166f1a423433a80be56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh /etc/rc.common
# SPDX-License-Identifier: GPL-2.0-or-later

START=11

boot() {
	. /lib/functions.sh
	/usr/sbin/nu801 "$(board_name)"

	# Because this is a userspace driver, we need to trigger diag.sh after
	# we start the driver, but before boot is complete so we blink.
	. /etc/diag.sh
	set_state preinit_regular
}