1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

openafs-client: don't remove kernel module on stop

Otherwise it cannot re-insert the kernel module after a kernel upgrade
when boot kernel != running kernel.
This commit is contained in:
Joerg Thalheim 2017-10-07 10:06:34 +01:00
parent aa3535cee5
commit 912ec467db

View file

@ -93,7 +93,6 @@ in
preStop = ''
${pkgs.utillinux}/bin/umount /afs
${openafsPkgs}/sbin/afsd -shutdown
${pkgs.kmod}/sbin/rmmod libafs
'';
};
};