2007-12-03 19:48:11 +00:00
|
|
|
diff -urN openswan.old/programs/loggerfix openswan.dev/programs/loggerfix
|
|
|
|
--- openswan.old/programs/loggerfix 1970-01-01 01:00:00.000000000 +0100
|
|
|
|
+++ openswan.dev/programs/loggerfix 2006-10-08 20:41:08.000000000 +0200
|
2006-09-16 15:40:22 +00:00
|
|
|
@@ -0,0 +1,5 @@
|
|
|
|
+#!/bin/sh
|
|
|
|
+# use filename instead of /dev/null to log, but dont log to flash or ram
|
|
|
|
+# pref. log to nfs mount
|
|
|
|
+echo "$*" >> /dev/null
|
|
|
|
+exit 0
|
2007-12-03 19:48:11 +00:00
|
|
|
diff -urN openswan.old/programs/_plutorun/_plutorun.in openswan.dev/programs/_plutorun/_plutorun.in
|
|
|
|
--- openswan.old/programs/_plutorun/_plutorun.in 2006-10-08 20:43:21.000000000 +0200
|
|
|
|
+++ openswan.dev/programs/_plutorun/_plutorun.in 2006-10-08 20:41:08.000000000 +0200
|
2006-09-16 15:40:22 +00:00
|
|
|
@@ -147,7 +147,7 @@
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
- if test ! -w "`dirname $stderrlog`"
|
|
|
|
+ if test ! -w "`echo $stderrlog | sed -r 's/(^.*\/)(.*$)/\1/'`"
|
|
|
|
then
|
|
|
|
echo Cannot write to directory to create \"$stderrlog\".
|
|
|
|
exit 1
|
2007-12-03 19:48:11 +00:00
|
|
|
diff -urN openswan.old/programs/_realsetup/_realsetup.in openswan.dev/programs/_realsetup/_realsetup.in
|
|
|
|
--- openswan.old/programs/_realsetup/_realsetup.in 2006-10-08 20:43:21.000000000 +0200
|
|
|
|
+++ openswan.dev/programs/_realsetup/_realsetup.in 2006-10-08 20:41:08.000000000 +0200
|
2006-09-16 15:40:22 +00:00
|
|
|
@@ -232,7 +232,7 @@
|
|
|
|
|
|
|
|
# misc pre-Pluto setup
|
|
|
|
|
|
|
|
- perform test -d `dirname $subsyslock` "&&" touch $subsyslock
|
|
|
|
+ perform test -d `echo $subsyslock | sed -r 's/(^.*\/)(.*$)/\1/'` "&&" touch $subsyslock "&&" rm -f $subsyslock
|
|
|
|
|
|
|
|
if test " $IPSECforwardcontrol" = " yes"
|
|
|
|
then
|