|
|
|
@ -13,7 +13,6 @@ ADD_LOCAL_FQDN=""
|
|
|
|
|
|
|
|
|
|
BASECONFIGFILE="/var/etc/dnsmasq.conf"
|
|
|
|
|
BASEHOSTFILE="/tmp/hosts/dhcp"
|
|
|
|
|
BASETIMESTAMPFILE="/etc/dnsmasq.time"
|
|
|
|
|
TRUSTANCHORSFILE="/usr/share/dnsmasq/trust-anchors.conf"
|
|
|
|
|
TIMEVALIDFILE="/var/state/dnsmasqsec"
|
|
|
|
|
BASEDHCPSTAMPFILE="/var/run/dnsmasq"
|
|
|
|
@ -742,7 +741,6 @@ dnsmasq_start()
|
|
|
|
|
CONFIGFILE="${BASECONFIGFILE}.${cfg}"
|
|
|
|
|
CONFIGFILE_TMP="${CONFIGFILE}.$$"
|
|
|
|
|
HOSTFILE="${BASEHOSTFILE}.${cfg}"
|
|
|
|
|
TIMESTAMPFILE="${BASETIMESTAMPFILE}.${cfg}"
|
|
|
|
|
BASEDHCPSTAMPFILE_CFG="${BASEDHCPSTAMPFILE}.${cfg}"
|
|
|
|
|
|
|
|
|
|
# before we can call xappend
|
|
|
|
@ -752,8 +750,6 @@ dnsmasq_start()
|
|
|
|
|
mkdir -p /var/lib/misc
|
|
|
|
|
chown dnsmasq:dnsmasq /var/run/dnsmasq
|
|
|
|
|
|
|
|
|
|
[ -f "$TIMESTAMPFILE" ] && rm -f "$TIMESTAMPFILE"
|
|
|
|
|
|
|
|
|
|
echo "# auto-generated config file from /etc/config/dhcp" > $CONFIGFILE_TMP
|
|
|
|
|
echo "# auto-generated config file from /etc/config/dhcp" > $HOSTFILE
|
|
|
|
|
|
|
|
|
|