Last active
August 10, 2016 13:07
-
-
Save aseering/87cbb5e8fd8cbaef2eef2a39f64b3528 to your computer and use it in GitHub Desktop.
'ionice' stub
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/dash | |
########## | |
# | |
# 'ionice' wrapper script | |
# | |
# Use this stub if you're running in an environment where 'ionice' is | |
# not supported and not strictly required, but it's | |
# used as a convenience by some script that you need to run. | |
# | |
# To use: | |
# - Download this script. Save as "ionice" (no file extension). Run 'chmod +x ionice' on it. | |
# - Place the script into $HOME/bin , creating it if it doesn't exist. | |
# - Run 'export PATH="$HOME/bin:$PATH"'. You may want to add that to your dotfiles so that all new terminals inherit it. | |
# | |
########## | |
while getopts ":c:n:p:t" OPT; do | |
echo "'ionice' process stubbed out; -$OPT $OPTARG argument ignored" | |
done | |
shift $(($OPTIND-1)) | |
exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment