summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/bootlog/init-hooks/15-have-ip-config/bootlog.sh
diff options
context:
space:
mode:
authorOliver Tappe2008-03-21 23:47:22 +0100
committerOliver Tappe2008-03-21 23:47:22 +0100
commit495a83592edeed265ceb7512d17e14e65797685d (patch)
treef97cda718500f264c8d95dffd36d0f5939a3e399 /os-plugins/plugins/bootlog/init-hooks/15-have-ip-config/bootlog.sh
parentSome changes for the vmware plugin to integrate properly ... (diff)
downloadcore-495a83592edeed265ceb7512d17e14e65797685d.tar.gz
core-495a83592edeed265ceb7512d17e14e65797685d.tar.xz
core-495a83592edeed265ceb7512d17e14e65797685d.zip
* added bootlog plugin which implements a remote log feature during boot
(should hopefully be helpful for further debugging of the 'desktop' plugin) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1668 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/bootlog/init-hooks/15-have-ip-config/bootlog.sh')
-rw-r--r--os-plugins/plugins/bootlog/init-hooks/15-have-ip-config/bootlog.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/os-plugins/plugins/bootlog/init-hooks/15-have-ip-config/bootlog.sh b/os-plugins/plugins/bootlog/init-hooks/15-have-ip-config/bootlog.sh
new file mode 100644
index 00000000..a1a07e8a
--- /dev/null
+++ b/os-plugins/plugins/bootlog/init-hooks/15-have-ip-config/bootlog.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