1 diff -durN freeswan-1.4.orig/utils/setup freeswan-1.4/utils/setup
2 --- freeswan-1.4.orig/utils/setup Mon May 22 06:37:57 2000
3 +++ freeswan-1.4/utils/setup Sat Jun 10 13:07:02 2000
8 +. /etc/rc.d/init.d/functions
10 me='ipsec setup' # for messages
12 # make sure output of (e.g.) ifconfig is in English
16 IPSECsyslog=${IPSECsyslog-daemon.error}
17 - logger -s -p $IPSECsyslog -t ipsec_setup 2>&1
18 + logger -p $IPSECsyslog -t ipsec_setup 2>&1
21 IPSECsyslog=${IPSECsyslog-daemon.error}
23 # Start things rolling.
24 # (Warning, changes to this log message may affect barf.)
25 version="`ipsec --version | awk 'NR == 1 { print $3 }'`"
26 + msg_starting "FreeS/WAN IPSEC"; busy
27 echo "Starting FreeS/WAN IPSEC $version..." | logit
29 if test ! -r /dev/random
31 echo "...unable to start FreeS/WAN IPSEC, no /dev/random!" |
36 startklips 2>&1 | logit
38 fore) plutogo 2>&1 | logit ;;
40 echo "...FreeS/WAN IPSEC started" | logonly
46 + msg_stopping "FreeS/WAN IPSEC" ; busy
47 echo "Stopping FreeS/WAN IPSEC..." | logit
48 if test " $IPSECforwardcontrol" = " yes"
53 echo "...FreeS/WAN IPSEC stopped" | logonly