From 088ea2fb6e8c56778c1f952c31fe063116e4fc46 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20B=C3=BCsch?= Date: Wed, 18 Mar 2009 12:20:21 +0000 Subject: [PATCH] Support configurations without syslogd/klogd. SVN-Revision: 14937 --- package/base-files/files/etc/init.d/boot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index b03209d8c2..85064248e4 100755 --- 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() {( -- 2.34.1