summaryrefslogtreecommitdiffstats
path: root/modules.d/98selinux/module-setup.sh
blob: 3574b1221edcfba5ead3a98c9684034902a9ced5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# called by dracut
check() {
    return 255
}

# called by dracut
depends() {
    return 0
}

# called by dracut
install() {
    inst_hook pre-pivot 50 "$moddir/selinux-loadpolicy.sh"
    inst_multiple setenforce chroot
}