#! /bin/sh -e
# description: AutoScan Agent
# Get lsb functions
# chkconfig: 2345 80 30
# description: AutoScan is an application designed to explore and to manage your network.
# Source function library.
# Source networking configuration.

# See how we were called.
case "$1" in
  start)
        echo "Starting AutoScan ..."
        /usr/sbin/AutoScan_Agent > /var/log/AutoScan
        echo
        ;;
  stop)
        echo "Stopping AutoScan ..."
        killall AutoScan_Agent
        echo
        ;;
  *)
        echo "*** Usage: autoscan {start|stop}\n"
        exit 1
esac

exit 0
