File: setup.start.out.v2

package info (click to toggle)
openswan 1%3A2.4.6%2Bdfsg.2-1.1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 24,996 kB
  • ctags: 16,877
  • sloc: ansic: 121,112; sh: 19,524; xml: 9,699; asm: 4,422; perl: 4,087; makefile: 3,367; tcl: 713; exp: 657; yacc: 396; pascal: 328; lex: 289; sed: 265; awk: 124; lisp: 3
file content (14 lines) | stat: -rwxr-xr-x 1,893 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ipsec_setup: 	 PATH=/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin
ipsec_setup: 	 test ! -f /var/run/pluto/ipsec_setup.pid || { echo "FreeS/WAN IPsec apparently already running, start aborted" ; exit 1 ; }
ipsec_setup: 	 echo "Starting FreeS/WAN IPsec cvs2002Mar11_19:19:03..."
ipsec_setup: 	 rm -f /var/run/pluto/ipsec_setup.pid
ipsec_setup: 	 test -r /dev/random || { echo "...unable to start FreeS/WAN IPsec, no /dev/random!" ; exit 1 ; }
ipsec_setup: 	 test -r /dev/urandom || { echo "...unable to start FreeS/WAN IPsec, no /dev/urandom!" ; exit 1 ; }
ipsec_setup: 	 echo $$ > /var/run/pluto/ipsec_setup.pid
ipsec_setup: 	 test -s /var/run/pluto/ipsec_setup.pid || { echo "...unable to create /var/run/pluto/ipsec_setup.pid, aborting start!" ; rm -f /var/run/pluto/ipsec_setup.pid ; exit 1 ; }
ipsec_setup: 	 > /var/run/pluto/ipsec.info
ipsec_setup: 	 ipsec _startklips --info /var/run/pluto/ipsec.info --debug "" --omtu "" --fragicmp "" --hidetos "" --rpfilter "0" --default "drop" --log "daemon.error" %defaultroute || { rm -f /var/run/pluto/ipsec_setup.pid ; exit 1 ; }
ipsec_setup: 	 test -f /proc/net/ipsec_version || { echo "OOPS, should have aborted!  Broken shell!" ; exit 1 ; }
ipsec_setup: 	 test -d /var/lock/subsys && touch /var/lock/subsys/ipsec
ipsec_setup: 	 ipsec _plutorun --debug "" --uniqueids "yes" --dump "" --wait "no" --pre "" --post "" --log "daemon.error" --pid "/var/run/pluto/pluto.pid" || { ifl=` ifconfig | sed -n -e "/^ipsec/s/ .*//p" ` ; test "X$ifl" != "X" && for i in $ifl ; do ifconfig $i down ; ipsec tncfg --detach --virtual $i ; done ; test -r /proc/net/ipsec_klipsdebug && ipsec klipsdebug --none ; ipsec eroute --clear ; ipsec spi --clear ; lsmod 2>&1 | grep "^ipsec" > /dev/null && rmmod ipsec ; rm -f /var/run/pluto/ipsec_setup.pid ; exit 1 ; }
ipsec_setup: 	 echo "...FreeS/WAN IPsec started" | logger -p daemon.error -t ipsec_setup