bootchartd support
authorFrederic Crozat <fcrozat@mandriva.com>
Tue, 13 Jul 2010 23:50:55 +0000 (01:50 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 21 Jul 2010 11:33:43 +0000 (13:33 +0200)
add preliminary bootchard support

Signed-off-by: Maarten Vanraes <maarten.vanraes@gmail.com>
modules.d/00bootchartd/check [new file with mode: 0644]
modules.d/00bootchartd/install [new file with mode: 0644]

diff --git a/modules.d/00bootchartd/check b/modules.d/00bootchartd/check
new file mode 100644 (file)
index 0000000..b691465
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+[ -x /sbin/bootchartd ]
diff --git a/modules.d/00bootchartd/install b/modules.d/00bootchartd/install
new file mode 100644 (file)
index 0000000..ff29de0
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+inst /sbin/bootchartd 
+inst /bin/bash 
+ln -s /init "${initdir}/sbin/init"
+mkdir -p /lib/bootchart/
+inst /lib/bootchart/bootchart-collector 
+inst /etc/bootchartd.conf 
+inst /sbin/accton 
+inst /usr/bin/pkill /bin/pkill
+inst /bin/echo
+inst /bin/grep 
+inst /bin/usleep
+inst /usr/bin/[  /bin/[
+mknod -m 0666 "${initdir}/dev/null" c 1 3