projects
/
openwrt
/
staging
/
lynxis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
088ea2f
)
Allow running without "logger" installed
author
Michael Büsch
<mb@bu3sch.de>
Wed, 18 Mar 2009 13:05:18 +0000
(13:05 +0000)
committer
Michael Büsch
<mb@bu3sch.de>
Wed, 18 Mar 2009 13:05:18 +0000
(13:05 +0000)
SVN-Revision: 14938
package/base-files/files/etc/init.d/rcS
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/rcS
b/package/base-files/files/etc/init.d/rcS
index b44f441c14c49234e0fc49a359972aa943e00174..4090aba8018fbf79e5158d3197a750de05f267e4 100755
(executable)
--- a/
package/base-files/files/etc/init.d/rcS
+++ b/
package/base-files/files/etc/init.d/rcS
@@
-1,8
+1,11
@@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
+LOGGER="cat"
+[ -x /usr/bin/logger ] && LOGGER="logger -s -p 6 -t ''"
+
{
for i in /etc/rc.d/$1*; do
[ -x $i ] && $i $2 2>&1
done
-} |
logger -s -p 6 -t ''
&
+} |
$LOGGER
&