diff options
author | Dirk von Suchodoletz | 2006-10-31 19:10:36 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-10-31 19:10:36 +0100 |
commit | aa269a74e73f29a3f2bf2bdd12b765045808cc5e (patch) | |
tree | dbd42d1d075ef262fec15590100050292384d88e /initramfs/initrd-stuff/etc/functions | |
parent | configuration of syslog-ng for SuSE should work now ... (added new (diff) | |
download | core-aa269a74e73f29a3f2bf2bdd12b765045808cc5e.tar.gz core-aa269a74e73f29a3f2bf2bdd12b765045808cc5e.tar.xz core-aa269a74e73f29a3f2bf2bdd12b765045808cc5e.zip |
Small fix for output of syslog-ng.conf, comments ...
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@500 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/etc/functions')
-rw-r--r-- | initramfs/initrd-stuff/etc/functions | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index 4cb18574..bf8aff1f 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -495,15 +495,14 @@ syslogngcfg=$1 echo -e "# File written by $0 within InitRamFS\n\ source src {\n\tfile(\"/proc/kmsg\") log_prefix(\"kernel: \");\n\ \tunix-stream(\"/dev/log\");\n\tinternal();\n};\ndestination console_all {\ -file(\"/dev/tty10\"); };" >$syslogngcfg +\n\tfile(\"/dev/tty10\");\n};" >$syslogngcfg case "$start_syslog" in yes|Yes|YES) : # already defined ;; file) - echo -e "destination allmessages { file(\"/var/log/allmessages\"); };\n\ -log { source(src); destination(allmessages); };" \ - >>$syslogngcfg + echo -e "destination allmessages {\n\tfile(\"/var/log/allmessages\");\n};\ +\nlog {\n\tsource(src); destination(allmessages);\n};" >>$syslogngcfg ;; *) syslogsrv=$(uri_token $start_syslog server) |