diff options
author | Oliver Tappe | 2008-03-24 20:08:13 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-03-24 20:08:13 +0100 |
commit | 986edf8583a69376055802b5e99147354f17762a (patch) | |
tree | b8526001f71a52c0756031b1e12c9c144b1c97a5 /os-plugins/plugins/syslog/XX_syslog.sh | |
parent | * getInstalledPackages() has to fetch the info from the packager, not the (diff) | |
download | core-986edf8583a69376055802b5e99147354f17762a.tar.gz core-986edf8583a69376055802b5e99147354f17762a.tar.xz core-986edf8583a69376055802b5e99147354f17762a.zip |
* split syslog::target into syslog::host and syslog::port
* implemented stage3 backend for syslog-ng (syslogd still missing)
* added another hook-script that:
+ stops busybox syslogd (in order to be superseded by native syslog daemon)
+ removes boot.klog if it exists (as it will hang, most probably since we
have already emptied the kernel message log)
With these changes, I have successfully tested remote syslog for a suse-10.2 vendor-OS.
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1684 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/syslog/XX_syslog.sh')
-rw-r--r-- | os-plugins/plugins/syslog/XX_syslog.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/os-plugins/plugins/syslog/XX_syslog.sh b/os-plugins/plugins/syslog/XX_syslog.sh new file mode 100644 index 00000000..ccd27bbf --- /dev/null +++ b/os-plugins/plugins/syslog/XX_syslog.sh @@ -0,0 +1,18 @@ +#! /bin/ash +# +# stage3 part of 'syslog' plugin - the runlevel script +# +. /etc/functions +. /etc/distro-functions +. /etc/sysconfig/config +if [ -e /initramfs/plugin-conf/syslog.conf ]; then + . /initramfs/plugin-conf/syslog.conf + if [ $syslog_active -ne 0 ]; then + [ $DEBUGLEVEL -gt 0 ] && echo "executing the 'syslog' os-plugin ..."; + + . /mnt/opt/openslx/plugin-repo/syslog/syslog.sh + + [ $DEBUGLEVEL -gt 0 ] && echo "done with 'syslog' os-plugin ..."; + + fi +fi |