golden hour
/usr/lib/dracut/modules.d/98usrmount
⬆️ Go Up
Upload
File/Folder
Size
Actions
module-setup.sh
297 B
Del
OK
mount-usr.sh
3.45 KB
Del
OK
Edit: module-setup.sh
#!/usr/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 : }
Save