#!/sbin/runscript

depend() {
	need net
}

start() {
  ebegin "Starting Virtual Private Network"
  start-stop-daemon --start --exec /usr/sbin/vpnc \
    --pidfile /var/run/vpnc/pid
  eend $?
}

stop() {
  ebegin "Stopping Virtual Private Network"
  start-stop-daemon --stop --exec /usr/sbin/vpnc-disconnect \
    --pidfile /var/run/vpnc/pid
  eend $?
}
