projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e8ab3
)
allow remote syslog
author
Mike Baker
<mbm@openwrt.org>
Sun, 17 Jul 2005 05:37:20 +0000
(
05:37
+0000)
committer
Mike Baker
<mbm@openwrt.org>
Sun, 17 Jul 2005 05:37:20 +0000
(
05:37
+0000)
SVN-Revision: 1476
openwrt/target/default/target_skeleton/etc/init.d/rcS
patch
|
blob
|
history
diff --git
a/openwrt/target/default/target_skeleton/etc/init.d/rcS
b/openwrt/target/default/target_skeleton/etc/init.d/rcS
index e6daddc5935c9fd5b6920680d2b613d81a400062..969fefe937e4f6a6d4dda8013d23458207d12f24 100755
(executable)
--- a/
openwrt/target/default/target_skeleton/etc/init.d/rcS
+++ b/
openwrt/target/default/target_skeleton/etc/init.d/rcS
@@
-1,8
+1,9
@@
#!/bin/sh
-syslogd -C 16
+syslog_ip=$(nvram get log_ipaddr)
+ipcalc -s $syslog_ip || syslog_ip=""
+syslogd -C 16 ${syslog_ip:+-L -R $syslog_ip}
klogd
-${FAILSAFE:+telnetd -l /bin/login; ifup lan; exit}
-
+#${FAILSAFE:+telnetd -l /bin/login; ifup lan; exit}
for i in /etc/init.d/S*; do
$i start 2>&1
done | logger -s -p 6 -t '' &