This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# telegraf plugin for mdstat monitoring | |
# | |
# output fields: | |
# - measurement: mdstat | |
# - tags: | |
# - host: hostname | |
# - dev: md device name (md0, md1 etc) | |
# - fields: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# it may be worth investigating curl on the pr to do something about the user | |
if [ "x" == "x$1" ] ; then | |
echo "Usage: gitpr-fetch <pr> [remote]" | |
exit 1 | |
fi | |
branch="pr-$1" | |
remote="upstream" | |
if [ "x" != "x$2" ] ; then | |
remote="$2" |