From eb210c635a74100d24498c12abbb9f85125ea4a8 Mon Sep 17 00:00:00 2001 From: Crilum <91354257+Crilum@users.noreply.github.com> Date: Tue, 21 Nov 2023 00:45:50 -0700 Subject: [PATCH 1/2] Update install Grammar change --- apps/XMRig/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/XMRig/install b/apps/XMRig/install index 393a1cc599..9ff8e675ad 100755 --- a/apps/XMRig/install +++ b/apps/XMRig/install @@ -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 From 38ce1be52156028bc062c077e1d6d9f1bebd31f5 Mon Sep 17 00:00:00 2001 From: Crilum <91354257+Crilum@users.noreply.github.com> Date: Tue, 21 Nov 2023 00:54:59 -0700 Subject: [PATCH 2/2] Update install Make all logged mentions of 'xmrig' uniform ('XMRig') --- apps/XMRig/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/XMRig/install b/apps/XMRig/install index 9ff8e675ad..fc54414b5f 100755 --- a/apps/XMRig/install +++ b/apps/XMRig/install @@ -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() @@ -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="" @@ -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 @@ -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