summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/rtadvd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/rtadvd')
-rwxr-xr-xetc/rc.d/rtadvd3
1 files changed, 1 insertions, 2 deletions
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
OpenPOWER on IntegriCloud