Mercurial > hg > nodescore
view nodescored @ 52:a79555d4ad18
added init.d script
author | root <root@beaglebone.(none)> |
---|---|
date | Sun, 14 Oct 2012 00:25:26 +0000 |
parents | |
children |
line wrap: on
line source
#! /bin/sh # /etc/init.d/nodescored # nodescore case "$1" in start) nodescore echo "Starting NodeScore " ;; stop) killall node echo "Stopping Nodescore" ;; *) echo "Usage: /etc/init.d/nodescored {start|stop}" exit 1 ;; esac exit 0