From 41cbd1429c9a708ce030ae8b981f96913edd8133 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 11 Jul 2007 14:21:35 +0000 Subject: Fix for syslog-ng (at least log to console tty10, if filelogging preferred use start_syslog="file") git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1238 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/distro-specs/suse/functions-default | 3 +++ 1 file changed, 3 insertions(+) (limited to 'initramfs/distro-specs') diff --git a/initramfs/distro-specs/suse/functions-default b/initramfs/distro-specs/suse/functions-default index 8c616589..41dfa5a4 100644 --- a/initramfs/distro-specs/suse/functions-default +++ b/initramfs/distro-specs/suse/functions-default @@ -118,6 +118,9 @@ fi # syslog service (use syslog-ng for all versions) config_syslog () { if [ "x$start_syslog" != "xno" ] ; then + # enable basic logging to console tty10; file logging could be enabled via + # setting of config_syslog="file" + start_syslog="yes" if [ -f /mnt/etc/${D_INITDIR}/syslog ] ; then sed -e "1i# modified in InitRamFS by $0" \ -e "s,SYSLOG_DAEMON=.*,SYSLOG_DAEMON=\"syslog-ng\"," \ -- cgit v1.2.3-55-g7522