[patch] /etc/rc.d/routing
Kevin Lo
kevlo at kevlo.org
Thu Jul 14 06:35:44 UTC 2011
Hi,
This patch removes "-n" from the echo.
without the patch:
Additional routing options: IPv4 gateway=YESadd net ::ffff:0.0.0.0:
gateway ::1
add net ::0.0.0.0: gateway ::1
add net fe80::: gateway ::1
add net ff02::: gateway ::1
.
with the patch:
Additional routing options: IPv4 gateway=YES
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net fe80::: gateway ::1
add net ff02::: gateway ::1
dougb@ doesn't see any problem. Per his request, send it to rc@ to be
sure.
Index: routing
===================================================================
--- routing (revision 223907)
+++ routing (working copy)
@@ -287,7 +287,7 @@
if checkyesno gateway_enable; then
ropts_init
- echo -n ' IPv4 gateway=YES'
+ echo ' IPv4 gateway=YES'
${SYSCTL} net.inet.ip.forwarding=1 > /dev/null
else
${SYSCTL} net.inet.ip.forwarding=0 > /dev/null
@@ -322,7 +322,7 @@
{
if checkyesno ipv6_gateway_enable; then
ropts_init
- echo -n ' IPv6 gateway=YES'
+ echo ' IPv6 gateway=YES'
${SYSCTL} net.inet6.ip6.forwarding=1 > /dev/null
else
${SYSCTL} net.inet6.ip6.forwarding=0 > /dev/null
More information about the freebsd-rc
mailing list