#! /bin/sh
#
#Copyright (c) 2013 Qualcomm Technologies, Inc.  All Rights Reserved.
#Qualcomm Technologies Proprietary and Confidential.

# MCM RIL Service  init.d script to start the RIL Software's mcm_ril_service daemon

set -e

case "$1" in
  start)
        echo -n "Starting MCM RIL Services: "
        start-stop-daemon -S -b -a mcm_ril_service
        echo "done"
        ;;
  stop)
        echo -n "Stopping MCM RIL Services: "
        start-stop-daemon -K -n mcm_ril_service
        echo "done"
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  *)
        echo "Usage start_mcm_ril_srv_le { start | stop | restart}" >&2
        exit 1
        ;;
esac

exit 0
