aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/vti/files/vti.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/config/vti/files/vti.sh')
-rwxr-xr-xpackage/network/config/vti/files/vti.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/config/vti/files/vti.sh b/package/network/config/vti/files/vti.sh
index ebfd9d41e1..96b65e76d9 100755
--- a/package/network/config/vti/files/vti.sh
+++ b/package/network/config/vti/files/vti.sh
@@ -149,6 +149,6 @@ proto_vti6_init_config() {
}
[ -n "$INCLUDE_ONLY" ] || {
- [ -f /lib/modules/$(uname -r)/ip_vti.ko ] && add_protocol vti
- [ -f /lib/modules/$(uname -r)/ip6_vti.ko ] && add_protocol vti6
+ [ -d /sys/module/ip_vti ] && add_protocol vti
+ [ -d /sys/module/ip6_vti ] && add_protocol vti6
}