#!/bin/bash # Syn-3 script # Reset a service to the default state it gets after booting SERVICE=$1 if [ -e $SERVICE/down ] ; then svcstop $SERVICE exit $? else svcstart $SERVICE exit $? fi