summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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