mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use tabs to push comment out
This commit is contained in:
parent
8713bf55a8
commit
1bf0cb2105
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user