blob: 10f07f462f5540eecb6761e1e4f9c472f31cb4c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- 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
|