#! /bin/sh

### BEGIN INIT INFO
# Provides:        custom-ca-mgr
# Required-Start:  
# Required-Stop:   
# Default-Start:   5
# Default-Stop:
# Short-Description: Refresh BARIX custom CAs
### END INIT INFO

PATH=/sbin:/bin:/usr/bin:/usr/sbin

case "$1" in
  start)
    /usr/bin/custom-ca-mgr refresh
    ;;
    
  status)
    /usr/bin/custom-ca-mgr status
    ;;

  stop|reload|force-reload)
    ;;
    
  *)
    echo "Usage: custom-ca-mgr { start | status }" >&2
    exit 1
    ;;
esac

exit 0
