Use tabs to push comment out

This commit is contained in:
sullrich 2009-12-06 20:24:36 -05:00
parent 8713bf55a8
commit 1bf0cb2105

View File

@ -9,7 +9,7 @@ update_hosts_file() {
# $2 = ip
cat /etc/hosts | grep -v "$1" > /tmp/hosts.tmp
if [ "$3" != "" ]; then
echo "$2 $1 # dynamic entry created by rc.parse-isc-dhcpd" >> /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