summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-03 20:26:00 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-03 20:26:00 +0000
commit9c3bf81864220c186fee4ea201400cf7e17b90ac (patch)
treefe7de01be8700ff7bb83d61896595322d0b3e70e /package/base-files/files/etc
parentfd1aa8a2c1192d8c9e3763d64b706db654762027 (diff)
[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/base-files/files/etc')
-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 f9f6c2d9e..b03209d8c 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
}