#!/bin/sh
# S01alkane: base Alkane init.
# Order: board detect -> network -> ssh -> miner. No web server.
start() {
    echo "alkane: board=$(alkane-board-detect)"
    echo "alkane: starting"
}

stop() {
    echo "alkane: stopping"
}

case "$1" in
  start) start ;;
  stop) stop ;;
  restart) stop; start ;;
  *) echo "usage: $0 {start|stop|restart}"; exit 1 ;;
esac