From 8943c2aa717f1f67c5f2ecee778919c5f80bc213 Mon Sep 17 00:00:00 2001 From: mtm Date: Sat, 17 Jan 2004 11:06:41 +0000 Subject: Remove variables whose sole purpose was to make easier to work with the NetBSD specific stuff. --- etc/rc.d/rtadvd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'etc/rc.d/rtadvd') diff --git a/etc/rc.d/rtadvd b/etc/rc.d/rtadvd index 38e74e7..21cf0bd 100755 --- a/etc/rc.d/rtadvd +++ b/etc/rc.d/rtadvd @@ -18,8 +18,7 @@ start_precmd="rtadvd_precmd" rtadvd_precmd() { - IS_GATEWAY="checkyesno ipv6_gateway_enable" - if ! ${IS_GATEWAY}; then + if ! checkyesno ipv6_gateway_enable ; then warn \ "${name} cannot be used on IPv6 host, only on an IPv6 router." return 1 -- cgit v1.1