golden hour
/usr/lib/dracut/modules.d/95fstab-sys
⬆️ Go Up
Upload
File/Folder
Size
Actions
module-setup.sh
358 B
Del
OK
mount-sys.sh
1.34 KB
Del
OK
Edit: module-setup.sh
#!/bin/bash # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh check() { test -f /etc/fstab.sys || [[ -n $add_fstab || -n $fstab_lines ]] } depends() { echo fs-lib } install() { [ -f /etc/fstab.sys ] && inst_simple /etc/fstab.sys inst_hook pre-pivot 00 "$moddir/mount-sys.sh" }
Save