Pass rtadvd.conf generated file as argument
This commit is contained in:
@@ -33,6 +33,8 @@ rc_router_gen_dir="${rc_router_conf_dir}/gen"
|
|||||||
|
|
||||||
localnet_enable='NO'
|
localnet_enable='NO'
|
||||||
|
|
||||||
|
rtadvd_conf_file="${rc_router_gen_dir}/rtadvd.conf"
|
||||||
|
|
||||||
rtadvd_pltimedecr='NO'
|
rtadvd_pltimedecr='NO'
|
||||||
rtadvd_vltimedecr='NO'
|
rtadvd_vltimedecr='NO'
|
||||||
|
|
||||||
|
|||||||
@@ -667,6 +667,10 @@ _rc_router_epilogue()
|
|||||||
{
|
{
|
||||||
max_fib=$(( ${fib_count} - 1 ))
|
max_fib=$(( ${fib_count} - 1 ))
|
||||||
rtsold_flags="${rtsold_flags} ${ipv6_isp_interfaces}"
|
rtsold_flags="${rtsold_flags} ${ipv6_isp_interfaces}"
|
||||||
|
if [ -n "${rtadvd_conf_file}" -a -e "${rtadvd_conf_file}" ]
|
||||||
|
then
|
||||||
|
rtadvd_flags="-c ${rtadvd_conf_file}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
#. ${router_conf_dir}/pf-framework.subr
|
#. ${router_conf_dir}/pf-framework.subr
|
||||||
|
|||||||
Reference in New Issue
Block a user