projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc20f1
)
allow specifying port where to log (#2019)
author
Florian Fainelli
<florian@openwrt.org>
Tue, 3 Feb 2009 20:26:00 +0000
(20:26 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Tue, 3 Feb 2009 20:26:00 +0000
(20:26 +0000)
SVN-Revision: 14396
package/base-files/files/etc/init.d/boot
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/boot
b/package/base-files/files/etc/init.d/boot
index f9f6c2d9e6335b12be4007a512960c82979e3c7d..b03209d8c2bc41818278d57a123edebb81f93aac 100755
(executable)
--- a/
package/base-files/files/etc/init.d/boot
+++ b/
package/base-files/files/etc/init.d/boot
@@
-19,7
+19,8
@@
system_config() {
config_get log_ip "$cfg" log_ip
config_get log_size "$cfg" log_size
- syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip}
+ config_get log_port "$cfg" log_port
+ syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip${log_port:+:$log_port}}
klogd
}