1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh prefix=%PREFIX% zabbix_agentd_enable="YES" . %LOCALBASE%/etc/rc.subr name="zabbix_agentd" rcvar=`set_rcvar` command="${prefix}/bin/${name}" required_files="/etc/zabbix/${name}.conf" run_rc_command "$1"