mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
21 lines
301 B
Bash
21 lines
301 B
Bash
#!/bin/sh
|
|
#
|
|
# notify to the root PCIe (/dev/rshimN/misc) that Linux is up
|
|
# and that BF3 board is ready
|
|
|
|
DAEMON="bfup"
|
|
|
|
case "$1" in
|
|
start)
|
|
printf "bfup: "
|
|
/usr/bin/$DAEMON
|
|
exit_code=$?
|
|
[ $exit_code = 0 ] && echo "OK" || echo "FAIL"
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {start}"
|
|
exit 1
|
|
esac
|
|
|
|
exit $?
|