From: Frederic Crozat Date: Tue, 13 Jul 2010 23:50:55 +0000 (+0200) Subject: bootchartd support X-Git-Tag: 007~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=466f36159dfa484945ae87825568c567a9a1d3fe;p=thirdparty%2Fdracut.git bootchartd support add preliminary bootchard support Signed-off-by: Maarten Vanraes --- diff --git a/modules.d/00bootchartd/check b/modules.d/00bootchartd/check new file mode 100644 index 000000000..b6914653c --- /dev/null +++ b/modules.d/00bootchartd/check @@ -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 index 000000000..ff29de08e --- /dev/null +++ b/modules.d/00bootchartd/install @@ -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