about summary refs log tree commit diff
path: root/dracut/module-setup.sh
blob: fb4a0677ae00bed2ffd70d76d3258d2d72d82f8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

check() {
    return 255
}

depends() {
    echo dmsquash-live
}

install() {
    inst /usr/bin/chroot
    inst /usr/bin/chmod
    inst /usr/bin/sed
    inst_hook pre-pivot 01 "$moddir/adduser.sh"
    inst_hook pre-pivot 02 "$moddir/display-manager-autologin.sh"
    inst_hook pre-pivot 02 "$moddir/getty-autologin.sh"
    inst_hook pre-pivot 03 "$moddir/copy-initramfs.sh"
    inst_hook pre-pivot 04 "$moddir/locale.sh"
}