aboutsummaryrefslogtreecommitdiffstats
path: root/dracut/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dracut/module-setup.sh')
-rwxr-xr-xdracut/module-setup.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/dracut/module-setup.sh b/dracut/module-setup.sh
new file mode 100755
index 0000000..86fcd32
--- /dev/null
+++ b/dracut/module-setup.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+check() {
+ return 0
+}
+
+# called by dracut
+depends() {
+ return 0
+}
+
+install() {
+ inst_rules "$moddir/20-ykfde.rules"
+ inst_hook cmdline 30 "$moddir/parse-mod.sh"
+ inst_simple "$moddir/ykfde.sh" /sbin/ykfde.sh
+ inst_simple /usr/lib/udev/ykfde
+ inst_simple /etc/ykfde.conf
+
+ dracut_need_initqueue
+}
+