#!/bin/bash

if [ "$1" == "" ]; then
	echo You must specify service
	exit 2
fi;

if /etc/init.d/$1 status >/dev/null; then
#    echo already run;
    exit 0
else
    echo Auto starting $1!...
    /etc/init.d/$1 start;
fi;

