#!@l_prefix@/lib/openpkg/bash @l_prefix@/etc/rc
##
##  rc.gated -- Run-Commands for GateD Daemon
##

%config
    gated_enable="yes"

%start -p 200 -u root
    opServiceEnabled gated || exit 0
    @l_prefix@/sbin/gdc start

%stop -p 200 -u root
    opServiceEnabled gated || exit 0
    @l_prefix@/sbin/gdc stop

%restart -u root
    opServiceEnabled gated || exit 0
    @l_prefix@/sbin/gdc restart

