Much of the core bits are initially ported.

This should be mostly independent of my configs, now.
This commit is contained in:
2026-05-09 03:26:53 -04:00
parent 6b02d9d58e
commit 4d30691ee6
16 changed files with 1278 additions and 2 deletions
+36
View File
@@ -0,0 +1,36 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: generate_isp_dhcp
# REQUIRE: netif
# BEFORE: dhcp6c
# KEYWORD: shutdown
#
. ${RC_ROUTER_HARNESS}/etc/rc.subr
name='generate_isp_dhcp'
start_cmd='generate_isp_dhcp_start'
stop_cmd='generate_isp_dhcp_stop'
rcvar='generate_isp_dhcp_enable'
load_rc_config 'generate_isp_dhcp'
generate_isp_dhcp_start()
{
_emit_dhcpv6
cat ${rc_router_gen_dir}/dhcp6c.*.conf > ${rc_router_gen_dir}/dhcp6c.conf
}
generate_isp_dhcp_stop()
{
true
}
################ Epilogue
run_rc_command "$1"
# vim: ft=bash