15cc3b2d51
Provide simple script to run under busybox, this is all we need in the VM.
16 lines
251 B
Bash
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
|
|
|
|
}
|