summary refs log tree commit diff
path: root/nixos/modules/services/network-filesystems
diff options
context:
space:
mode:
authorJoerg Thalheim <joerg@thalheim.io>2017-10-07 10:06:34 +0100
committerJoerg Thalheim <joerg@thalheim.io>2017-10-07 10:11:30 +0100
commit912ec467dbf94ec0b62a6894e0d044a877a6724d (patch)
tree0cfb8c3df277126d82997ab782050fe661250dd2 /nixos/modules/services/network-filesystems
parentaa3535cee57479a8f0721c3e05c4e91966ecdcd6 (diff)
downloadnixlib-912ec467dbf94ec0b62a6894e0d044a877a6724d.tar
nixlib-912ec467dbf94ec0b62a6894e0d044a877a6724d.tar.gz
nixlib-912ec467dbf94ec0b62a6894e0d044a877a6724d.tar.bz2
nixlib-912ec467dbf94ec0b62a6894e0d044a877a6724d.tar.lz
nixlib-912ec467dbf94ec0b62a6894e0d044a877a6724d.tar.xz
nixlib-912ec467dbf94ec0b62a6894e0d044a877a6724d.tar.zst
nixlib-912ec467dbf94ec0b62a6894e0d044a877a6724d.zip
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.
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r--nixos/modules/services/network-filesystems/openafs-client/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/services/network-filesystems/openafs-client/default.nix b/nixos/modules/services/network-filesystems/openafs-client/default.nix
index 94f93162cfee..0946e379e796 100644
--- a/nixos/modules/services/network-filesystems/openafs-client/default.nix
+++ b/nixos/modules/services/network-filesystems/openafs-client/default.nix
@@ -93,7 +93,6 @@ in
       preStop = ''
         ${pkgs.utillinux}/bin/umount /afs
         ${openafsPkgs}/sbin/afsd -shutdown
-        ${pkgs.kmod}/sbin/rmmod libafs
       '';
     };
   };