summaryrefslogtreecommitdiffstats
path: root/modules.d/90dmsquash-live-ntfs/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/90dmsquash-live-ntfs/module-setup.sh')
-rwxr-xr-xmodules.d/90dmsquash-live-ntfs/module-setup.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules.d/90dmsquash-live-ntfs/module-setup.sh b/modules.d/90dmsquash-live-ntfs/module-setup.sh
new file mode 100755
index 0000000..7aa5802
--- /dev/null
+++ b/modules.d/90dmsquash-live-ntfs/module-setup.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+check() {
+ require_binaries ntfs-3g || return 1
+ return 255
+}
+
+depends() {
+ echo dmsquash-live
+ return 0
+}
+
+install() {
+ inst_multiple fusermount mount.fuse ntfs-3g
+ inst_script "$moddir/mount-ntfs-3g.sh" "/sbin/mount-ntfs-3g"
+ dracut_need_initqueue
+}
+
+installkernel() {
+ hostonly='' instmods fuse
+}