diff options
author | Dirk von Suchodoletz | 2007-07-11 16:21:35 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-07-11 16:21:35 +0200 |
commit | 41cbd1429c9a708ce030ae8b981f96913edd8133 (patch) | |
tree | 5cc733a07ea7da626ec8982fe53b5571f002d68a /initramfs/distro-specs/suse/functions-default | |
parent | Some cleanup for ubuntu ... (diff) | |
download | core-41cbd1429c9a708ce030ae8b981f96913edd8133.tar.gz core-41cbd1429c9a708ce030ae8b981f96913edd8133.tar.xz core-41cbd1429c9a708ce030ae8b981f96913edd8133.zip |
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
Diffstat (limited to 'initramfs/distro-specs/suse/functions-default')
-rw-r--r-- | initramfs/distro-specs/suse/functions-default | 3 |
1 files changed, 3 insertions, 0 deletions
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\"," \ |