Michael Tokarev: restart and force-reload actions to mdadm-waitidle

Michael Tokarev mjt at alioth.debian.org
Thu Jan 24 13:19:27 UTC 2013


Module: mdadm
Branch: master
Commit: 89b1aeeb956db8cc405fcf7fcfedaa292840f7cc
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=89b1aeeb956db8cc405fcf7fcfedaa292840f7cc

Author: Michael Tokarev <mjt at tls.msk.ru>
Date:   Thu Jan 24 17:04:44 2013 +0400

restart and force-reload actions to mdadm-waitidle

---

 debian/changelog      |    8 ++++++++
 debian/mdadm-waitidle |    3 ++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 589d810..76e7005 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mdadm (3.2.5-5) UNRELEASED; urgency=low
+
+  * add (empty) restart and force-reload actions to mdadm-waitidle
+    script -- this script is used only when the system needs to be
+    shut down or rebooted, there's nothing to start or restart.
+
+ -- Michael Tokarev <mjt at tls.msk.ru>  Thu, 24 Jan 2013 17:03:21 +0400
+
 mdadm (3.2.5-4+mdmon) experimental; urgency=low
 
   * fix `/etc/init.d/mdadm-raid status' inverse logic (Closes: #686100)
diff --git a/debian/mdadm-waitidle b/debian/mdadm-waitidle
index 5fd79aa..e779d7b 100644
--- a/debian/mdadm-waitidle
+++ b/debian/mdadm-waitidle
@@ -22,7 +22,8 @@ test -f /proc/mdstat || exit 0
 
 case "${1:-}" in
 
-  start)
+  start|restart|force-reload)
+    # nothing, the only reason the script is here is to stop arrays
     ;;
 
   stop)




More information about the pkg-mdadm-commits mailing list