[Cluster-devel] [PATCH 1/3] scripts: rename gfs2_wd_udev.sh to gfs2_withdraw_helper

Andrew Price anprice at redhat.com
Wed Aug 19 11:55:07 UTC 2015


Makes the name more descriptive and consistent with the name of the udev
rules script.

Signed-off-by: Andrew Price <anprice at redhat.com>
---
 README.build                                           | 2 +-
 gfs2/scripts/82-gfs2-withdraw.rules                    | 2 +-
 gfs2/scripts/Makefile.am                               | 2 +-
 gfs2/scripts/{gfs2_wd_udev.sh => gfs2_withdraw_helper} | 0
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename gfs2/scripts/{gfs2_wd_udev.sh => gfs2_withdraw_helper} (100%)

diff --git a/README.build b/README.build
index 6487bae..acfde1b 100644
--- a/README.build
+++ b/README.build
@@ -35,7 +35,7 @@ are not installed by 'make install' and need to be installed manually
 or during rpm installation to the corresponding locations.
 
 	82-gfs2-withdraw.rules in /etc/udev/rules.d/
-	gfs2_wd_udev.sh        in /usr/sbin/
+	gfs2_withdraw_helper   in /usr/sbin/
 
 See also doc/README.contributing for details on submitting patches and
 doc/README.tests for more details regarding the test suite.
diff --git a/gfs2/scripts/82-gfs2-withdraw.rules b/gfs2/scripts/82-gfs2-withdraw.rules
index 2228615..2c9e0e8 100644
--- a/gfs2/scripts/82-gfs2-withdraw.rules
+++ b/gfs2/scripts/82-gfs2-withdraw.rules
@@ -1,2 +1,2 @@
-SUBSYSTEM=="gfs2", ACTION=="offline", RUN+="/bin/sh /usr/sbin/gfs2_wd_udev.sh"
+SUBSYSTEM=="gfs2", ACTION=="offline", RUN+="/bin/sh /usr/sbin/gfs2_withdraw_helper"
 
diff --git a/gfs2/scripts/Makefile.am b/gfs2/scripts/Makefile.am
index dde906f..51764fa 100644
--- a/gfs2/scripts/Makefile.am
+++ b/gfs2/scripts/Makefile.am
@@ -6,5 +6,5 @@ dist_sbin_SCRIPTS = \
 
 noinst_SCRIPTS = \
 	82-gfs2-withdraw.rules \
-	gfs2_wd_udev.sh
+	gfs2_withdraw_helper
 
diff --git a/gfs2/scripts/gfs2_wd_udev.sh b/gfs2/scripts/gfs2_withdraw_helper
similarity index 100%
rename from gfs2/scripts/gfs2_wd_udev.sh
rename to gfs2/scripts/gfs2_withdraw_helper
-- 
2.4.3




More information about the Cluster-devel mailing list