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:
a0b602c
)
fix rcS for new ipcalc script
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 21 Mar 2006 17:08:23 +0000
(17:08 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 21 Mar 2006 17:08:23 +0000
(17:08 +0000)
SVN-Revision: 3438
openwrt/package/base-files/default/etc/init.d/rcS
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/etc/init.d/rcS
b/openwrt/package/base-files/default/etc/init.d/rcS
index 6d5bcd7d200dcb2851600c57a1fa73a813d7fdd0..9e3285915ddb4d7025d6ca0f291c800e78f4cc0e 100755
(executable)
--- a/
openwrt/package/base-files/default/etc/init.d/rcS
+++ b/
openwrt/package/base-files/default/etc/init.d/rcS
@@
-2,7
+2,8
@@
${FAILSAFE:+exit}
syslog_ip=$(nvram get log_ipaddr)
-ipcalc -s "$syslog_ip" || syslog_ip=""
+eval $(ipcalc "$syslog_ip")
+[ "$syslog_ip" = "$IP" ] || syslog_ip=""
syslogd -C 16 ${syslog_ip:+-L -R $syslog_ip}
klogd
#${FAILSAFE:+telnetd -l /bin/login; ifup lan; exit}