Date: Thu, 14 Jul 2011 14:01:40 +0800 From: Kevin Lo <kevlo@kevlo.org> To: freebsd-rc@freebsd.org Subject: [patch] /etc/rc.d/routing Message-ID: <1310623300.37158.8.camel@srgsec>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1310623300.37158.8.camel>