PHP 8.1.33
Preview: module-setup.sh Size: 294 B
//lib/dracut/modules.d/98usrmount/module-setup.sh

#!/bin/bash

# called by dracut
check() {
    [[ $mount_needs ]] && return 1
    return 0
}

# called by dracut
depends() {
    echo 'fs-lib'
}

# called by dracut
install() {
    if ! dracut_module_included "systemd"; then
        inst_hook pre-pivot 50 "$moddir/mount-usr.sh"
    fi
    :
}

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
294 B lrwxr-xr-x 2018-10-08 13:38:33
Edit Download
3.52 KB lrwxr-xr-x 2018-10-08 13:38:33
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).