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
'';
};
};