nu801.init 326 B

1234567891011121314
  1. #!/bin/sh /etc/rc.common
  2. # SPDX-License-Identifier: GPL-2.0-or-later
  3. START=11
  4. boot() {
  5. . /lib/functions.sh
  6. /usr/sbin/nu801 "$(board_name)"
  7. # Because this is a userspace driver, we need to trigger diag.sh after
  8. # we start the driver, but before boot is complete so we blink.
  9. . /etc/diag.sh
  10. set_state preinit_regular
  11. }