%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /backups/router/usr/local/opnsense/service/templates/OPNsense/Kea/
Upload File :
Create Path :
Current File : //backups/router/usr/local/opnsense/service/templates/OPNsense/Kea/keactrl.conf

#!/bin/sh

# This is a configuration file for keactrl script which controls
# the startup, shutdown, reconfiguration and gathering the status
# of the Kea's processes.

# Note that control agent must be launched after servers and netconf last.

# shellcheck disable=SC2034
# SC2034: ... appears unused. Verify use (or export if used externally).

# prefix holds the location where the Kea is installed.
prefix="/usr/local"

# Location of Kea configuration files.
kea_dhcp4_config_file="${prefix}/etc/kea/kea-dhcp4.conf"
kea_dhcp6_config_file="${prefix}/etc/kea/kea-dhcp6.conf"
kea_dhcp_ddns_config_file="${prefix}/etc/kea/kea-dhcp-ddns.conf"
kea_ctrl_agent_config_file="${prefix}/etc/kea/kea-ctrl-agent.conf"
kea_netconf_config_file="${prefix}/etc/kea/kea-netconf.conf"

# Location of Kea binaries.
exec_prefix="${prefix}"
dhcp4_srv="${exec_prefix}/sbin/kea-dhcp4"
dhcp6_srv="${exec_prefix}/sbin/kea-dhcp6"
dhcp_ddns_srv="${exec_prefix}/sbin/kea-dhcp-ddns"
ctrl_agent_srv="${exec_prefix}/sbin/kea-ctrl-agent"
netconf_srv="${exec_prefix}/sbin/kea-netconf"

# Start DHCPv4 server?
dhcp4={% if not helpers.empty('OPNsense.Kea.dhcp4.general.enabled') %}yes{% else %}no{% endif %}

# Start DHCPv6 server?
dhcp6=no

# Start DHCP DDNS server?
dhcp_ddns=no

# Start Control Agent?
ctrl_agent={% if not helpers.empty('OPNsense.Kea.ctrl_agent.general.enabled') %}yes{% else %}no{% endif %}

# Start Netconf?
netconf=no

# Be verbose?
kea_verbose=no

Zerion Mini Shell 1.0