aboutsummaryrefslogtreecommitdiff
path: root/net/freenet6/files/patch-template-freebsd4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/freenet6/files/patch-template-freebsd4.sh')
-rw-r--r--net/freenet6/files/patch-template-freebsd4.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/net/freenet6/files/patch-template-freebsd4.sh b/net/freenet6/files/patch-template-freebsd4.sh
index daf81264e817..d2c5d2696062 100644
--- a/net/freenet6/files/patch-template-freebsd4.sh
+++ b/net/freenet6/files/patch-template-freebsd4.sh
@@ -1,8 +1,17 @@
--- template/freebsd4.sh.orig Thu Oct 11 16:40:29 2001
+++ template/freebsd4.sh Thu Oct 11 16:40:48 2001
-@@ -110,6 +110,9 @@
+@@ -92,7 +92,7 @@
+ fi
+
+ #change to upper case
+-TSP_HOST_TYPE=`echo $TSP_HOST_TYPE | tr a-z A-Z`
++TSP_HOST_TYPE=`echo $TSP_HOST_TYPE | tr [:lower:] [:upper:]`
+
+ if [ X"${TSP_HOST_TYPE}" = X"HOST" ] || [ X"${TSP_HOST_TYPE}" = X"ROUTER" ]; then
+ #
+@@ -122,6 +122,9 @@
# Delete any default IPv6 route first
- Exec $route delete -inet6 default
+ ExecNoCheck $route delete -inet6 default
Exec $route add -inet6 default -interface $TSP_TUNNEL_INTERFACE
+
+ # Save interface for later