Advertisement
tentimes

shutdownraid.sh

Dec 20th, 2012
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.14 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. # This should shut down the raid array to enable power off
  4. umount /dev/md126
  5. sleep 2
  6. mdadm --stop /dev/md126
  7. sleep 2
  8. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement