projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1e8b46
)
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)
SVN-Revision: 14937
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 b03209d8c2bc41818278d57a123edebb81f93aac..85064248e4222e56095d3104e7ac0801af176969 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() {(