From a7f04bb2b79fce3619508825b96c5564b044a9cf Mon Sep 17 00:00:00 2001 From: gordon Date: Fri, 6 Sep 2002 16:18:05 +0000 Subject: Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation on OS-dependent case switches. --- etc/rc.d/rtadvd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/rc.d/rtadvd') diff --git a/etc/rc.d/rtadvd b/etc/rc.d/rtadvd index 8317e33..39dc094 100755 --- a/etc/rc.d/rtadvd +++ b/etc/rc.d/rtadvd @@ -16,7 +16,7 @@ rcvar=`set_rcvar` command="/usr/sbin/${name}" start_precmd="rtadvd_precmd" -case `${CMD_OSTYPE}` in +case ${OSTYPE} in FreeBSD) IS_GATEWAY="checkyesno ipv6_gateway_enable" ;; @@ -46,7 +46,7 @@ rtadvd_precmd() # from another machine, so if you enable this, do it with # enough care.) # - case `${CMD_OSTYPE}` in + case ${OSTYPE} in FreeBSD) # If specific interfaces haven't been specified, # get a list of interfaces and enable it on them -- cgit v1.1