mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:18:26 +02:00
Support configurations without syslogd/klogd.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14937 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4b00022ee7
commit
f8f902be7b
@ -20,8 +20,8 @@ system_config() {
|
||||
config_get log_ip "$cfg" log_ip
|
||||
config_get log_size "$cfg" log_size
|
||||
config_get log_port "$cfg" log_port
|
||||
syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip${log_port:+:$log_port}}
|
||||
klogd
|
||||
[ -x /sbin/syslogd ] && syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip${log_port:+:$log_port}}
|
||||
[ -x /sbin/klogd ] && klogd
|
||||
}
|
||||
|
||||
apply_uci_config() {(
|
||||
|
Loading…
Reference in New Issue
Block a user