From 7ee4bc1f14a43c7e89a4a9d10894b01ab227bcf5 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 23 Jan 2014 19:27:34 -0800 Subject: [PATCH] Support AFS_DYNROOT=true * Accept AFS_DYNROOT=true as an alias for Yes in afs.conf.client, matching behavior of releases prior to 1.6.2.1-1. (Closes: #729353) --- debian/changelog | 2 ++ debian/openafs-client.init | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1ed5e724f..efd868713 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,8 @@ openafs (1.6.6-1) UNRELEASED; urgency=low openafs-fuse, and openafs-kpasswd. This was broken in previous releases by a miswritten debian/rules override. Thanks to Andreas Beckmann for finding the problem and solution. (Closes: #736305) + * Accept AFS_DYNROOT=true as an alias for Yes in afs.conf.client, + matching behavior of releases prior to 1.6.2.1-1. (Closes: #729353) -- Russ Allbery Thu, 23 Jan 2014 19:18:37 -0800 diff --git a/debian/openafs-client.init b/debian/openafs-client.init index 0f8518c47..431cda5ce 100755 --- a/debian/openafs-client.init +++ b/debian/openafs-client.init @@ -125,7 +125,7 @@ choose_afsd_options() { if is_on $AFS_AFSDB ; then AFSD_OPTIONS="$AFSD_OPTIONS -afsdb" fi - if [ "$AFS_DYNROOT" = 'Yes' ] ; then + if [ "$AFS_DYNROOT" = 'Yes' ] || [ "$AFS_DYNROOT" = 'true' ] ; then AFSD_OPTIONS="$AFSD_OPTIONS -dynroot" elif [ "$AFS_DYNROOT" = 'Sparse' ] ; then AFSD_OPTIONS="$AFSD_OPTIONS -dynroot-sparse" -- 2.39.5