diff options
author | emaste <emaste@FreeBSD.org> | 2011-03-30 01:19:00 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2011-03-30 01:19:00 +0000 |
commit | 47909b5bffde5646bc91092a047f79d1b5bf2bbd (patch) | |
tree | f237a9e5d6ed49257c45f87919451376fa0b54a8 /etc/rc.d/routing | |
parent | a9eba0596c4e413de61c0d0960d01c83a16b0feb (diff) | |
download | FreeBSD-src-47909b5bffde5646bc91092a047f79d1b5bf2bbd.zip FreeBSD-src-47909b5bffde5646bc91092a047f79d1b5bf2bbd.tar.gz |
Replace ${SYSCTL_W} with ${SYSCTL} in rc.d scripts, as they are identical.
This is a further clean up after r202988.
SYSCTL_W is still initialized in rc.subr as some ports may still use it.
Diffstat (limited to 'etc/rc.d/routing')
-rwxr-xr-x | etc/rc.d/routing | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/etc/rc.d/routing b/etc/rc.d/routing index 30242fc..add1e0a 100755 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -264,57 +264,57 @@ options_inet() if checkyesno icmp_bmcastecho; then ropts_init echo -n ' broadcast ping responses=YES' - ${SYSCTL_W} net.inet.icmp.bmcastecho=1 > /dev/null + ${SYSCTL} net.inet.icmp.bmcastecho=1 > /dev/null else - ${SYSCTL_W} net.inet.icmp.bmcastecho=0 > /dev/null + ${SYSCTL} net.inet.icmp.bmcastecho=0 > /dev/null fi if checkyesno icmp_drop_redirect; then ropts_init echo -n ' ignore ICMP redirect=YES' - ${SYSCTL_W} net.inet.icmp.drop_redirect=1 > /dev/null + ${SYSCTL} net.inet.icmp.drop_redirect=1 > /dev/null else - ${SYSCTL_W} net.inet.icmp.drop_redirect=0 > /dev/null + ${SYSCTL} net.inet.icmp.drop_redirect=0 > /dev/null fi if checkyesno icmp_log_redirect; then ropts_init echo -n ' log ICMP redirect=YES' - ${SYSCTL_W} net.inet.icmp.log_redirect=1 > /dev/null + ${SYSCTL} net.inet.icmp.log_redirect=1 > /dev/null else - ${SYSCTL_W} net.inet.icmp.log_redirect=0 > /dev/null + ${SYSCTL} net.inet.icmp.log_redirect=0 > /dev/null fi if checkyesno gateway_enable; then ropts_init echo -n ' IPv4 gateway=YES' - ${SYSCTL_W} net.inet.ip.forwarding=1 > /dev/null + ${SYSCTL} net.inet.ip.forwarding=1 > /dev/null else - ${SYSCTL_W} net.inet.ip.forwarding=0 > /dev/null + ${SYSCTL} net.inet.ip.forwarding=0 > /dev/null fi if checkyesno forward_sourceroute; then ropts_init echo -n ' do source routing=YES' - ${SYSCTL_W} net.inet.ip.sourceroute=1 > /dev/null + ${SYSCTL} net.inet.ip.sourceroute=1 > /dev/null else - ${SYSCTL_W} net.inet.ip.sourceroute=0 > /dev/null + ${SYSCTL} net.inet.ip.sourceroute=0 > /dev/null fi if checkyesno accept_sourceroute; then ropts_init echo -n ' accept source routing=YES' - ${SYSCTL_W} net.inet.ip.accept_sourceroute=1 > /dev/null + ${SYSCTL} net.inet.ip.accept_sourceroute=1 > /dev/null else - ${SYSCTL_W} net.inet.ip.accept_sourceroute=0 > /dev/null + ${SYSCTL} net.inet.ip.accept_sourceroute=0 > /dev/null fi if checkyesno arpproxy_all; then ropts_init echo -n ' ARP proxyall=YES' - ${SYSCTL_W} net.link.ether.inet.proxyall=1 > /dev/null + ${SYSCTL} net.link.ether.inet.proxyall=1 > /dev/null else - ${SYSCTL_W} net.link.ether.inet.proxyall=0 > /dev/null + ${SYSCTL} net.link.ether.inet.proxyall=0 > /dev/null fi } @@ -323,9 +323,9 @@ options_inet6() if checkyesno ipv6_gateway_enable; then ropts_init echo -n ' IPv6 gateway=YES' - ${SYSCTL_W} net.inet6.ip6.forwarding=1 > /dev/null + ${SYSCTL} net.inet6.ip6.forwarding=1 > /dev/null else - ${SYSCTL_W} net.inet6.ip6.forwarding=0 > /dev/null + ${SYSCTL} net.inet6.ip6.forwarding=0 > /dev/null fi } @@ -338,9 +338,9 @@ options_ipx() if checkyesno ipxgateway_enable; then ropts_init echo -n ' IPX gateway=YES' - ${SYSCTL_W} net.ipx.ipx.ipxforwarding=1 > /dev/null + ${SYSCTL} net.ipx.ipx.ipxforwarding=1 > /dev/null else - ${SYSCTL_W} net.ipx.ipx.ipxforwarding=0 > /dev/null + ${SYSCTL} net.ipx.ipx.ipxforwarding=0 > /dev/null fi } |