summaryrefslogtreecommitdiff
path: root/user/elogind/dracut_module.sh
diff options
context:
space:
mode:
Diffstat (limited to 'user/elogind/dracut_module.sh')
-rwxr-xr-xuser/elogind/dracut_module.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/user/elogind/dracut_module.sh b/user/elogind/dracut_module.sh
new file mode 100755
index 000000000..c65bcadec
--- /dev/null
+++ b/user/elogind/dracut_module.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+# called by dracut
+check() {
+ require_binaries /lib/elogind/elogind-uaccess-command
+}
+
+# called by dracut
+depends() {
+ echo base
+ return 0
+}
+
+# called by dracut
+install() {
+ inst /lib/elogind/elogind-uaccess-command
+}
+