Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix grammatical error in XMRig install script #2483

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions apps/XMRig/install
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function setup_wizard() {
}
EOT
else #User skipped setup wizard
echo -e "You chose to not set up a configuration for xmrig."
echo -e "You chose to not set up a configuration for XMRig."
fi

} # End setup_wizard()
Expand Down Expand Up @@ -181,7 +181,7 @@ if true;then
cd
rm -rf $HOME/xmrig

status_green "xmrig program compiled and installed successfully."
status_green "XMRig program compiled and installed successfully."
fi

output=""
Expand All @@ -197,7 +197,7 @@ fi

userinput_func "Should XMRig run whenever this device is not being used?" "${default_table[@]}"
if [ "$output" == "Yes" ]; then
echo -e "OK.\nThe new 'xmrig-daemon' command will run xmrig only when no sound is playing and when the mouse/keyboard have been stationary for a while.\n"
echo -e "OK.\nThe new 'xmrig-daemon' command will run XMRig only when no sound is playing and when the mouse/keyboard have been stationary for a while.\n"

status -n 'Creating script at /usr/local/bin/xmrig-daemon... '
cat << "EOF" | sudo tee /usr/local/bin/xmrig-daemon >/dev/null
Expand Down Expand Up @@ -230,10 +230,10 @@ while true;do
#Every second, check if user-action was less than 1 second ago, or if audio is playing (stackoverflow.com/a/17404952)
while true ;do
if [ "$(xprintidle)" -lt 1000 ];then
echo -n "Stopping xmrig because mouse/keyboard is active... "
echo -n "Stopping XMRig because mouse/keyboard is active... "
break
elif grep -rq RUNNING /proc/asound/card*/pcm*/sub*/status ;then
echo -n "Stopping xmrig because audio is playing... "
echo -n "Stopping XMRig because audio is playing... "
break
fi
sleep 1
Expand Down Expand Up @@ -274,5 +274,5 @@ fi
if [ -s $HOME/.config/xmrig.json ];then
status "\nSince your configuration is ready to use, you can run 'xmrig' in a terminal to start the miner.\nOtherwize, you can use command-line flags to specify Wallet Address, mining pool, and so forth.\nHave fun!"
else
status "\nSince you don't have a configuration yet, you can either create one later at '$HOME/.config/xmrig.json', or run 'xmrig' with command-line flags specify Wallet Address, mining pool, and so forth.\nHave fun!"
status "\nSince you don't have a configuration yet, you can either create one later at '$HOME/.config/xmrig.json', or run 'xmrig' with command-line flags to specify Wallet Address, mining pool, and so forth.\nHave fun!"
fi