]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Update client precheck to use -help
authorBenjamin Kaduk <kaduk@mit.edu>
Thu, 31 Aug 2017 01:15:36 +0000 (20:15 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Thu, 31 Aug 2017 01:15:36 +0000 (20:15 -0500)
We had previously patched afsd to have an -exit option that would
exit with a success return value but not try to start the client
(needed for the installation scenario where no kernel module is
available), but afsd -help now performs that role.

Change-Id: I4c6032779754a5b1547bf4428eef162347dbd278

debian/openafs-client-precheck

index dd3091aedbc1017e30a80c33c015c38c7d5469a4..5175d1517584dc06377916de2d0e1df52abc3bbb 100755 (executable)
@@ -38,7 +38,7 @@ MODULEROOT=${MODULEROOT:-/lib/modules/`uname -r`}
 
 do_nothing_env() {
     cat > /var/cache/openafs-client/openafs-client.env <<EOF
-AFSD_ARGS=-exit
+AFSD_ARGS=-help
 AFS_SETCRYPT=-help
 AFS_SYSNAME=-help
 KMOD=--version