summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-06 19:31:33 -0500
committersullrich <sullrich@pfsense.org>2009-12-06 19:31:33 -0500
commitb55a27fdb5bbe9aeadb7d3de90dc60998856b090 (patch)
treec8d0d8cc8f61020d4a9357c41708b1646abcaeb1
parent7ea754a830976a57a3eb17bcf464d237dd321617 (diff)
downloadpfsense-b55a27fdb5bbe9aeadb7d3de90dc60998856b090.zip
pfsense-b55a27fdb5bbe9aeadb7d3de90dc60998856b090.tar.gz
Add # dynamic entry created by rc.parse-isc-dhcpd
-rwxr-xr-xetc/rc.parse-isc-dhcpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.parse-isc-dhcpd b/etc/rc.parse-isc-dhcpd
index 468c6cd..6757d92 100755
--- a/etc/rc.parse-isc-dhcpd
+++ b/etc/rc.parse-isc-dhcpd
@@ -9,7 +9,7 @@ update_hosts_file() {
# $2 = ip
cat /etc/hosts | grep -v "$1" > /tmp/hosts.tmp
if [ "$3" != "" ]; then
- echo "$2 $1" >> /tmp/hosts.tmp
+ echo "$2 $1 # dynamic entry created by rc.parse-isc-dhcpd" >> /tmp/hosts.tmp
fi
mv /tmp/hosts.tmp /etc/hosts
killall -HUP dnsmasq
OpenPOWER on IntegriCloud