From 466f36159dfa484945ae87825568c567a9a1d3fe Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Wed, 14 Jul 2010 01:50:55 +0200 Subject: [PATCH] bootchartd support add preliminary bootchard support Signed-off-by: Maarten Vanraes --- modules.d/00bootchartd/check | 2 ++ modules.d/00bootchartd/install | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 modules.d/00bootchartd/check create mode 100644 modules.d/00bootchartd/install diff --git a/modules.d/00bootchartd/check b/modules.d/00bootchartd/check new file mode 100644 index 0000000..b691465 --- /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 0000000..ff29de0 --- /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 -- 2.7.4