mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 02:48:26 +02:00
[base-files] allow specifying port where to log (#2019)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14396 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fd1aa8a2c1
commit
9c3bf81864
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user