projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ae5e4
)
Support configurations without syslogd/klogd.
author
Michael Büsch
<mb@bu3sch.de>
Wed, 18 Mar 2009 12:20:21 +0000
(12:20 +0000)
committer
Michael Büsch
<mb@bu3sch.de>
Wed, 18 Mar 2009 12:20:21 +0000
(12:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14937
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/base-files/files/etc/init.d/boot
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/boot
b/package/base-files/files/etc/init.d/boot
index
b03209d
..
8506424
100755
(executable)
--- a/
package/base-files/files/etc/init.d/boot
+++ b/
package/base-files/files/etc/init.d/boot
@@
-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() {(