]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
chore(removal): eliminate bootchart module
authorJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 18 Jan 2021 11:28:06 +0000 (11:28 +0000)
committerDaniel Molkentin <daniel@molkentin.de>
Mon, 18 Jan 2021 23:44:30 +0000 (00:44 +0100)
modules.d/00bootchart/module-setup.sh [deleted file]

diff --git a/modules.d/00bootchart/module-setup.sh b/modules.d/00bootchart/module-setup.sh
deleted file mode 100755 (executable)
index 38f77a3..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-# called by dracut
-check() {
-    [[ "$mount_needs" ]] && return 1
-    require_binaries /sbin/bootchartd || return 1
-    return 255
-}
-
-# called by dracut
-depends() {
-    return 0
-}
-
-# called by dracut
-install() {
-    inst_symlink /init /sbin/init
-    inst_dir /lib/bootchart/tmpfs
-
-    inst_multiple bootchartd bash \
-        /lib/bootchart/bootchart-collector /etc/bootchartd.conf \
-        accton \
-        echo \
-        grep \
-        usleep
-
-    inst /usr/bin/pkill /bin/pkill
-    inst /usr/bin/[  /bin/[
-}
-