mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 12:40:45 -04:00
about 4.4. PR: ports/46668 Submitted by: Kirk Strauser <kirk@strauser.com> Approved by: maintainer
29 lines
971 B
Bash
29 lines
971 B
Bash
--- template/freebsd44.sh.orig Sat Feb 23 06:32:37 2002
|
|
+++ template/freebsd44.sh Fri Jan 3 22:13:35 2003
|
|
@@ -64,7 +64,6 @@
|
|
Display 1 '--- Start of configuration script. ---'
|
|
Display 1 "Script: " `basename $0`
|
|
|
|
-gifconfig=/usr/sbin/gifconfig
|
|
ifconfig=/sbin/ifconfig
|
|
route=/sbin/route
|
|
rtadvd=/usr/sbin/rtadvd
|
|
@@ -104,7 +103,7 @@
|
|
Exec $ifconfig $TSP_TUNNEL_INTERFACE destroy
|
|
fi
|
|
Exec $ifconfig $TSP_TUNNEL_INTERFACE create
|
|
- Exec $gifconfig $TSP_TUNNEL_INTERFACE $TSP_CLIENT_ADDRESS_IPV4 $TSP_SERVER_ADDRESS_IPV4
|
|
+ Exec $ifconfig $TSP_TUNNEL_INTERFACE tunnel $TSP_CLIENT_ADDRESS_IPV4 $TSP_SERVER_ADDRESS_IPV4
|
|
|
|
#
|
|
# Configured tunnel config (IPv6)
|
|
@@ -118,6 +117,9 @@
|
|
# Delete any default IPv6 route first
|
|
ExecNoCheck $route delete -inet6 default
|
|
Exec $route add -inet6 default $TSP_SERVER_ADDRESS_IPV6
|
|
+
|
|
+ # Save interface for later
|
|
+ echo $TSP_TUNNEL_INTERFACE > /var/run/tspc.if
|
|
fi
|
|
|
|
# Router configuration if required
|