cryptodisk: Unregister cryptomount command when removing module
Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Patrick Steinhardt <ps@pks.im> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
eb77486141
commit
3b3ac0c982
1 changed files with 1 additions and 0 deletions
|
@ -1311,5 +1311,6 @@ GRUB_MOD_FINI (cryptodisk)
|
||||||
{
|
{
|
||||||
grub_disk_dev_unregister (&grub_cryptodisk_dev);
|
grub_disk_dev_unregister (&grub_cryptodisk_dev);
|
||||||
cryptodisk_cleanup ();
|
cryptodisk_cleanup ();
|
||||||
|
grub_unregister_extcmd (cmd);
|
||||||
grub_procfs_unregister (&luks_script);
|
grub_procfs_unregister (&luks_script);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue