ctdb ganesha patch

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Oct 23 05:52:12 MDT 2012


Hi, Amitay!

Please take a look at the attached patch and push it to
ctdb master if appropriate.

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From 88d33e7a3157892d7b6524d9281e23f21c6bf89b Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Tue, 23 Oct 2012 13:45:42 +0200
Subject: [PATCH] Avoid a bashism in 60.ganesha

This file is #!/bin/sh. On sn-devel at least, with this /bin/sh the
shell does not like == for string equality.
---
 config/events.d/60.ganesha |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/events.d/60.ganesha b/config/events.d/60.ganesha
index cee7792..a685013 100755
--- a/config/events.d/60.ganesha
+++ b/config/events.d/60.ganesha
@@ -28,7 +28,7 @@ service_reconfigure ()
 }
 loadconfig "nfs"
 
-[ "$NFS_SERVER_MODE" == "ganesha" ] || exit 0
+[ "$NFS_SERVER_MODE" = "ganesha" ] || exit 0
 
 ctdb_setup_service_state_dir
 
-- 
1.7.0.4



More information about the samba-technical mailing list