Cleanup a bit more and get ready to publish.
This commit is contained in:
+5
-2
@@ -38,7 +38,7 @@ localnet_build_zoneinfo()
|
||||
localnet_build_zoneinfo_impl()
|
||||
{
|
||||
#build_zoneinfo ${isp_prefix} 31 ${router_conf_dir}/namedb/local-machines.defs
|
||||
build_zoneinfo ${isp_prefix} 31 ${rc_router_conf_dir}/namedb/local-machines.defs > ${rc_router_gen_dir}/zone.hosts.nerdland.org
|
||||
build_zoneinfo ${isp_prefix} ${localnet_generated_zone_subnet} ${rc_router_conf_dir}/namedb/local-machines.defs > ${rc_router_gen_dir}/zone.${localnet_generated_zone}
|
||||
}
|
||||
|
||||
localnet_build_acls()
|
||||
@@ -88,7 +88,10 @@ localnet_start() {
|
||||
# connections...
|
||||
|
||||
localnet_build_acls
|
||||
localnet_build_zoneinfo_impl
|
||||
if [ `option_selected ${localnet_build_zoneinfo}` = "YES" ]
|
||||
then
|
||||
localnet_build_zoneinfo_impl
|
||||
fi
|
||||
}
|
||||
|
||||
localnet_stop() {
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ route_policy_start()
|
||||
|
||||
# UGLY hack/workaround because of a kernel panic bug from
|
||||
# rtable rules in files included in `pf` anchors in FreeBSD 15
|
||||
/etc/rc.d/pf reload
|
||||
service pf reload
|
||||
}
|
||||
|
||||
route_policy_stop()
|
||||
|
||||
Reference in New Issue
Block a user