#!/bin/sh
if [ ! -e ~/.rocrail ] ; then
	mkdir ~/.rocrail
fi

cd ~/.rocrail

if pidof rocrail
  then
    echo "rocrail is running"
  else
    echo "rocrail is not running. start..."
    /usr/lib64/rocrail/rocrail -console -l /usr/lib64/rocrail
fi
