qubes-linux-utils/dracut/full/module-setup.sh
Marek Marczykowski-Górecki 15cc3b2d51 dracut: Provide minimalistic initramfs files - no udev, no systemd
Provide simple script to run under busybox, this is all we need in the
VM.
2015-03-25 23:25:33 +01:00

16 lines
251 B
Bash

#!/bin/bash
check() {
if xenstore-read qubes-vm-type &>/dev/null; then
return 0
else
return 255
fi
}
install() {
inst_hook pre-udev 90 $moddir/qubes_cow_setup.sh
inst_hook pre-pivot 50 $moddir/mount_modules.sh
}