#!/bin/sh
# Scheduler for Ahsay A-Click Backup 10.1.4.0

. /etc/rc.common

StartService ()
{
    ConsoleMessage "Starting Scheduler for Ahsay A-Click Backup"
    '/Applications/AhsayACB.app/bin/Scheduler.sh' &
    return 0
}

StopService ()
{
    ConsoleMessage "Stopping Scheduler for Ahsay A-Click Backup"
    touch '/Applications/AhsayACB.app/ipc/Scheduler/stop'
    sleep 2;
    return 0
}

RestartService ()
{
    StopService;
    StartService;
}

RunService "$1"
