aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
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
commit1716050f0c274d198abebf2b9e21fb9f754c199a (patch)
treecc7a805a6ee72e398100da0b17663eb43d32f100 /package/base-files
parent1fc20f18d4176c6481a08418a1d35f1d8a59ab81 (diff)
downloadupstream-1716050f0c274d198abebf2b9e21fb9f754c199a.tar.gz
upstream-1716050f0c274d198abebf2b9e21fb9f754c199a.tar.bz2
upstream-1716050f0c274d198abebf2b9e21fb9f754c199a.zip
allow specifying port where to log (#2019)
SVN-Revision: 14396
Diffstat (limited to 'package/base-files')
-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
}