#!/bin/bash
#you must login as ROOT
#user chn22 must exits in the NODE
#
case "$1" in
 'start')
	# uruchamia loopR
	/home/chn22/loopR >/dev/null &
	echo "loopR start";;
 'stop')
	pidof loopR;
	kill $(pidof loopR);
	echo "loopR stop";;
esac

