summaryrefslogtreecommitdiffstats
path: root/modules.d/90mgalive/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/90mgalive/module-setup.sh')
-rwxr-xr-xmodules.d/90mgalive/module-setup.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules.d/90mgalive/module-setup.sh b/modules.d/90mgalive/module-setup.sh
index 99be401..b8f3f8d 100755
--- a/modules.d/90mgalive/module-setup.sh
+++ b/modules.d/90mgalive/module-setup.sh
@@ -15,11 +15,12 @@ installkernel() {
}
install() {
- inst_multiple umount dmsetup blkid dd losetup grep blockdev
- inst_multiple -o eject
+ inst_multiple blkid clear eject grep losetup umount
inst_hook cmdline 30 "$moddir/mgalive-parse.sh"
inst_hook pre-udev 30 "$moddir/mgalive-genrules.sh"
+ inst_hook pre-shutdown 99 "$moddir/mgalive-quit-plymouth.sh"
+ inst_hook shutdown 99 "$moddir/mgalive-shutdown.sh"
inst "$moddir/mgalive-root.sh" "/sbin/mgalive-root"
# should probably just be generally included
inst_rules 60-cdrom_id.rules