diff options
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/netoptions | 23 | ||||
-rw-r--r-- | etc/rc.d/network1 | 23 | ||||
-rw-r--r-- | etc/rc.d/network2 | 23 | ||||
-rw-r--r-- | etc/rc.d/network3 | 23 | ||||
-rw-r--r-- | etc/rc.d/network_ipv6 | 23 | ||||
-rw-r--r-- | etc/rc.d/routing | 23 |
6 files changed, 115 insertions, 23 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index fbe8bf3..c4dcb81 100644 --- a/etc/rc.d/netoptions +++ b/etc/rc.d/netoptions @@ -129,6 +129,9 @@ network_pass1() { fi done + # gifconfig + network_gif_setup + # Set up all the network interfaces, calling startup scripts if needed # case ${network_interfaces} in @@ -751,6 +754,26 @@ network_pass4() { network_pass4_done=YES } +network_gif_setup() { + case ${gif_interfaces} in + [Nn][Oo] | '') + ;; + *) + for i in ${gif_interfaces}; do + eval peers=\$gifconfig_$i + case ${peers} in + '') + continue + ;; + *) + gifconfig $i ${peers} + ;; + esac + done + ;; + esac +} + convert_host_conf() { host_conf=$1; shift; nsswitch_conf=$1; shift; diff --git a/etc/rc.d/network1 b/etc/rc.d/network1 index fbe8bf3..c4dcb81 100644 --- a/etc/rc.d/network1 +++ b/etc/rc.d/network1 @@ -129,6 +129,9 @@ network_pass1() { fi done + # gifconfig + network_gif_setup + # Set up all the network interfaces, calling startup scripts if needed # case ${network_interfaces} in @@ -751,6 +754,26 @@ network_pass4() { network_pass4_done=YES } +network_gif_setup() { + case ${gif_interfaces} in + [Nn][Oo] | '') + ;; + *) + for i in ${gif_interfaces}; do + eval peers=\$gifconfig_$i + case ${peers} in + '') + continue + ;; + *) + gifconfig $i ${peers} + ;; + esac + done + ;; + esac +} + convert_host_conf() { host_conf=$1; shift; nsswitch_conf=$1; shift; diff --git a/etc/rc.d/network2 b/etc/rc.d/network2 index fbe8bf3..c4dcb81 100644 --- a/etc/rc.d/network2 +++ b/etc/rc.d/network2 @@ -129,6 +129,9 @@ network_pass1() { fi done + # gifconfig + network_gif_setup + # Set up all the network interfaces, calling startup scripts if needed # case ${network_interfaces} in @@ -751,6 +754,26 @@ network_pass4() { network_pass4_done=YES } +network_gif_setup() { + case ${gif_interfaces} in + [Nn][Oo] | '') + ;; + *) + for i in ${gif_interfaces}; do + eval peers=\$gifconfig_$i + case ${peers} in + '') + continue + ;; + *) + gifconfig $i ${peers} + ;; + esac + done + ;; + esac +} + convert_host_conf() { host_conf=$1; shift; nsswitch_conf=$1; shift; diff --git a/etc/rc.d/network3 b/etc/rc.d/network3 index fbe8bf3..c4dcb81 100644 --- a/etc/rc.d/network3 +++ b/etc/rc.d/network3 @@ -129,6 +129,9 @@ network_pass1() { fi done + # gifconfig + network_gif_setup + # Set up all the network interfaces, calling startup scripts if needed # case ${network_interfaces} in @@ -751,6 +754,26 @@ network_pass4() { network_pass4_done=YES } +network_gif_setup() { + case ${gif_interfaces} in + [Nn][Oo] | '') + ;; + *) + for i in ${gif_interfaces}; do + eval peers=\$gifconfig_$i + case ${peers} in + '') + continue + ;; + *) + gifconfig $i ${peers} + ;; + esac + done + ;; + esac +} + convert_host_conf() { host_conf=$1; shift; nsswitch_conf=$1; shift; diff --git a/etc/rc.d/network_ipv6 b/etc/rc.d/network_ipv6 index 30de630..dc6188a 100644 --- a/etc/rc.d/network_ipv6 +++ b/etc/rc.d/network_ipv6 @@ -125,9 +125,6 @@ network6_pass1() { ;; esac - # gifconfig - network6_gif_setup - # setting up interfaces network6_interface_setup $ipv6_network_interfaces @@ -339,26 +336,6 @@ network6_interface_setup() { fi } -network6_gif_setup() { - case ${gif_interfaces} in - [Nn][Oo] | '') - ;; - *) - for i in ${gif_interfaces}; do - eval peers=\$gifconfig_$i - case ${peers} in - '') - continue - ;; - *) - gifconfig $i ${peers} - ;; - esac - done - ;; - esac -} - network6_stf_setup() { case ${stf_interface_ipv4addr} in [Nn][Oo] | '') diff --git a/etc/rc.d/routing b/etc/rc.d/routing index fbe8bf3..c4dcb81 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -129,6 +129,9 @@ network_pass1() { fi done + # gifconfig + network_gif_setup + # Set up all the network interfaces, calling startup scripts if needed # case ${network_interfaces} in @@ -751,6 +754,26 @@ network_pass4() { network_pass4_done=YES } +network_gif_setup() { + case ${gif_interfaces} in + [Nn][Oo] | '') + ;; + *) + for i in ${gif_interfaces}; do + eval peers=\$gifconfig_$i + case ${peers} in + '') + continue + ;; + *) + gifconfig $i ${peers} + ;; + esac + done + ;; + esac +} + convert_host_conf() { host_conf=$1; shift; nsswitch_conf=$1; shift; |