summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2010-05-19 11:51:49 +0200
committersmos <seth.mos@dds.nl>2010-05-19 11:52:56 +0200
commit4994b350e830cf77a5e8adc7c11ebdf697bae12b (patch)
tree540e9d9408263df6577540c6f3aa037438102837 /etc/rc.bootup
parent7f039071e560313476fcbbc0d23e00032c6820ac (diff)
downloadpfsense-4994b350e830cf77a5e8adc7c11ebdf697bae12b.zip
pfsense-4994b350e830cf77a5e8adc7c11ebdf697bae12b.tar.gz
Re-create the hosts file on bootup after configuring all the interfaces. Ticket #567
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 1c08edc..95bdbc9 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -205,6 +205,9 @@ interfaces_configure();
if(!$debugging)
unmute_kernel_msgs();
+/* re-make hosts file after configuring interfaces */
+system_hosts_generate();
+
/* generate resolv.conf */
system_resolvconf_generate();
OpenPOWER on IntegriCloud