From 1c1afb3e2a397eb906ff0b2884cadf2eb5e4fc02 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Mon, 24 Mar 2008 11:00:05 +0000 Subject: * renamed 'bootlog' plugin to 'syslog', as that is what it is going to become, soon git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1680 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/syslog/init-hooks/15-have-ip-config/syslog.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 os-plugins/plugins/syslog/init-hooks/15-have-ip-config/syslog.sh (limited to 'os-plugins/plugins/syslog/init-hooks') diff --git a/os-plugins/plugins/syslog/init-hooks/15-have-ip-config/syslog.sh b/os-plugins/plugins/syslog/init-hooks/15-have-ip-config/syslog.sh new file mode 100644 index 00000000..a1a07e8a --- /dev/null +++ b/os-plugins/plugins/syslog/init-hooks/15-have-ip-config/syslog.sh @@ -0,0 +1,7 @@ +if [ -e /initramfs/plugin-conf/bootlog.conf ]; then + . /initramfs/plugin-conf/bootlog.conf + if [ $bootlog_active -ne 0 ]; then + echo "syslogd -R $bootlog_target..." + syslogd -R $bootlog_target & >/dev/null 2>&1 + fi +fi -- cgit v1.2.3-55-g7522