diff --git a/ipv6/6scripts/Makefile b/ipv6/6scripts/Makefile index 5600ff0be..2b398d080 100644 --- a/ipv6/6scripts/Makefile +++ b/ipv6/6scripts/Makefile @@ -17,6 +17,7 @@ include $(INCLUDE_DIR)/package.mk define Package/6scripts SECTION:=ipv6 CATEGORY:=IPv6 + DEPENDS:=+kmod-ipv6 TITLE:=IPv6 scripts endef diff --git a/ipv6/6scripts/files/6tunnel.init b/ipv6/6scripts/files/6tunnel.init index cd4e1fc02..84ba32563 100644 --- a/ipv6/6scripts/files/6tunnel.init +++ b/ipv6/6scripts/files/6tunnel.init @@ -46,11 +46,7 @@ stop_service() { ip tunnel del $tnlifname } start() { - if ! [ -f /proc/net/if_inet6 ]; then - echo "IPv6 not enabled, install kmod-ipv6"; - exit 1; - fi - if ! [ -x /sbin/ip ]; then + if ! [ -x /usr/sbin/ip ]; then echo "ip is required to setup the tunnel"; exit 1; fi