666aa15f1e
With 2.6.38.2 #include linux/config.h dont work anymore. It the same issue like Changeset r26237. Thank you heil for the patch. This closes #9156. git-svn-id: svn://svn.openwrt.org/openwrt/packages@26550 3c298f89-4303-0410-b956-a3cf2f4a3e73
37 lines
964 B
Diff
37 lines
964 B
Diff
---
|
|
programs/_plutorun/_plutorun.in | 2 +-
|
|
programs/_realsetup/_realsetup.in | 2 +-
|
|
programs/loggerfix | 5 +++++
|
|
3 files changed, 7 insertions(+), 2 deletions(-)
|
|
|
|
--- /dev/null
|
|
+++ b/programs/loggerfix
|
|
@@ -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
|
|
--- a/programs/_plutorun/_plutorun.in
|
|
+++ b/programs/_plutorun/_plutorun.in
|
|
@@ -157,7 +157,7 @@ then
|
|
exit 1
|
|
fi
|
|
else
|
|
- if test ! -w "`dirname $stderrlog`"
|
|
+ if test ! -w "${stderrlog%/*}"
|
|
then
|
|
echo Cannot write to directory to create \"$stderrlog\".
|
|
exit 1
|
|
--- a/programs/_realsetup/_realsetup.in
|
|
+++ b/programs/_realsetup/_realsetup.in
|
|
@@ -291,7 +291,7 @@ case "$1" in
|
|
|
|
# misc pre-Pluto setup
|
|
|
|
- perform test -d $subsysdir "&&" touch $subsyslock
|
|
+ perform test -d "${subsyslock%/*}" "&&" touch $subsyslock "&&" rm -f $subsyslock
|
|
|
|
manualconns
|
|
|