diff options
author | Dirk von Suchodoletz | 2006-10-31 18:31:31 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-10-31 18:31:31 +0100 |
commit | 1d3b9e8d5c0bb0058106e2fb7e5a2754b6e62a82 (patch) | |
tree | d98b0bf88d45badf0577257e6db3cdce1c3fbac5 /initramfs/distro-specs/suse/functions-default | |
parent | * removed legacy attributes which are managed by external (diff) | |
download | core-1d3b9e8d5c0bb0058106e2fb7e5a2754b6e62a82.tar.gz core-1d3b9e8d5c0bb0058106e2fb7e5a2754b6e62a82.tar.xz core-1d3b9e8d5c0bb0058106e2fb7e5a2754b6e62a82.zip |
configuration of syslog-ng for SuSE should work now ... (added new
function for writing the config file - sysngwriter in functions)
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@499 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/suse/functions-default')
-rw-r--r-- | initramfs/distro-specs/suse/functions-default | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/initramfs/distro-specs/suse/functions-default b/initramfs/distro-specs/suse/functions-default index c9301e75..931cb711 100644 --- a/initramfs/distro-specs/suse/functions-default +++ b/initramfs/distro-specs/suse/functions-default @@ -96,14 +96,9 @@ fi config_syslog () { if [ "x$start_syslog" != "xno" ] ; then if [ -f /mnt/etc/${D_INITDIR}/syslog ] ; then - # how to configure remote log server? - # logging servers might be specified in $log_servers (from e.g. dhcp) - echo -e "# File modified by $0 within InitRamFS" \ - > /etc/syslog-ng.conf - sed -e "s,.*dhcp/dev.*,,;s,.*named/dev.*,," \ - /mnt/etc/syslog-ng/syslog-ng.conf >> /etc/syslog-ng.conf - cp /etc/syslog-ng.conf /mnt/etc/syslog-ng/syslog-ng.conf - rllinker syslog "02" "20" + # logoutput depending on $start_syslog definitions + sysngwriter /mnt/etc/syslog-ng/syslog-ng.conf + rllinker syslog "02" "20" else error "$df_errsysl" nonfatal fi |