summaryrefslogtreecommitdiffstats
path: root/modules.d/90dmsquash-live-ntfs/module-setup.sh
blob: 7aa58027e3654704e2b998a8f4867df61de46080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}