#!/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 : }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
module-setup.sh | File | 294 B | 0755 |
|
mount-usr.sh | File | 3.52 KB | 0755 |
|