dracut/modules.d/99base/mount-root.sh

5 lines
123 B
Bash
Executable File

#!/bin/sh
if [ ! -s /.resume -a "$root" ]; then
mount $fstype -o "$rflags" "$root" "$NEWROOT" && ROOTFS_MOUNTED=yes
fi