Projekt

Obecné

Profil

Stáhnout (1.15 KB) Statistiky
| Větev: | Tag: | Revize:
################################################################################
# #
# Author: Michal Kliment, Ondrej Fibich #
# Description: This script generates config file of ISC DHCP server #
# from FreenetIS. #
# #
################################################################################

# Base PATH_FN to running FreenetIS instance
PATH_FN=http://localhost/freenetis

# ID of device from FreenetIS
DEVICE_ID=0

# Timeout in seconds after that the synchronization is made
TIMEOUT=300

# Log file, change to /dev/null to disable logging
LOG_FILE=/var/log/freenetis-dhcp.log

# Filename with ISC DHCP server config
DHCP_CONF="/etc/dhcp/dhcpd.conf"

# This file (if exists) is attached to generated DHCP conf file
CUSTOM_DHCP_CONF="/etc/dhcp/dhcpd.conf.custom"

# Full path [DO NOT CHANGE THIS VARIABLE!!!]
FULL_PATH=$PATH_FN"/index.php/en/devices/export/"$DEVICE_ID"/debian-etc-dhcp-dhcpd/text"
(6-6/7)