2010-10-09 08:43:44 +00:00
|
|
|
---
|
|
|
|
programs/_plutorun/_plutorun.in | 2 +-
|
|
|
|
programs/_realsetup/_realsetup.in | 2 +-
|
|
|
|
programs/loggerfix | 5 +++++
|
|
|
|
3 files changed, 7 insertions(+), 2 deletions(-)
|
|
|
|
|
2010-02-20 04:25:47 +00:00
|
|
|
--- /dev/null
|
2010-10-09 08:43:44 +00:00
|
|
|
+++ openswan-2.6.29/programs/loggerfix
|
2008-08-20 22:00:41 +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
|
2010-10-09 08:43:44 +00:00
|
|
|
--- openswan-2.6.29.orig/programs/_plutorun/_plutorun.in
|
|
|
|
+++ openswan-2.6.29/programs/_plutorun/_plutorun.in
|
2010-04-19 02:48:02 +00:00
|
|
|
@@ -155,7 +155,7 @@ then
|
2008-08-20 22:00:41 +00:00
|
|
|
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
|
2010-10-09 08:43:44 +00:00
|
|
|
--- openswan-2.6.29.orig/programs/_realsetup/_realsetup.in
|
|
|
|
+++ openswan-2.6.29/programs/_realsetup/_realsetup.in
|
|
|
|
@@ -290,7 +290,7 @@ case "$1" in
|
2010-10-02 16:53:46 +00:00
|
|
|
|
|
|
|
# misc pre-Pluto setup
|
|
|
|
|
|
|
|
- perform test -d $subsysdir "&&" touch $subsyslock
|
|
|
|
+ rm test -d `echo $subsyslock | sed -r 's/(^.*\/)(.*$)/\1/'` "&&" touch $subsyslock "&&" rm -f $subsyslock
|
|
|
|
|
|
|
|
manualconns
|
|
|
|
|