aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-02-03 20:26:00 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-02-03 20:26:00 +0000
commitc2176946343a65796c1abbdb735a6adbee009a39 (patch)
treefe7de01be8700ff7bb83d61896595322d0b3e70e /package
parent17d6172311eb63410a2e911944eb802dabda94c6 (diff)
downloadupstream-c2176946343a65796c1abbdb735a6adbee009a39.tar.gz
upstream-c2176946343a65796c1abbdb735a6adbee009a39.tar.bz2
upstream-c2176946343a65796c1abbdb735a6adbee009a39.zip
[base-files] allow specifying port where to log (#2019)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14396 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index f9f6c2d9e6..b03209d8c2 100755
--- 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
}