summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyatta-encapsulation5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/vyatta-encapsulation b/scripts/vyatta-encapsulation
index 8c64341e..f1cae8b1 100644
--- a/scripts/vyatta-encapsulation
+++ b/scripts/vyatta-encapsulation
@@ -1,8 +1,7 @@
#!/bin/sh
-list="gre gre-bridge ipip sit ipip6 ip6ip6"
-if [[ `dpkg -l | grep "vyatta-nhrp" | awk '{print $1}'` = "ii" ]]; then tmp="gre-multipoint"; fi
-full_list="${list} ${tmp}"
+list="gre gre-bridge gre-multipoint ipip sit ipip6 ip6ip6"
+full_list="${list}"
if [[ -n "$1" ]]; then
for f in ${full_list}; do if [[ "$1" = "$f" ]]; then exit 0; fi; done
echo "Must be (${full_list})"