From bea3353a801f55fab37930a805cb7d509ffdbc4d Mon Sep 17 00:00:00 2001 From: crowetic <5431064+crowetic@users.noreply.github.com> Date: Mon, 5 Dec 2022 12:41:27 -0800 Subject: [PATCH] Use this to setup CHD automation scripts on pi This script is used to SETUP/INSTALL the auto-fix-qortal script and automation therein on pi devices with pi username. If your pi device is not running with default pi username, you will need to modify the paths so that they utilize the correct username. in theory it will also start another terminal, and run the auto-fix-qortal script itself in that new terminal. (I do not know if this will work on headless devices this way, if not I will write another script targeted at headless setup.) --- setup-pi-automation | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 setup-pi-automation diff --git a/setup-pi-automation b/setup-pi-automation new file mode 100644 index 0000000..99c5f95 --- /dev/null +++ b/setup-pi-automation @@ -0,0 +1,8 @@ +#!/bin/sh +cd +curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/auto-fix-qortal.sh +chmod +x auto-fix-qortal.sh +gnome-terminal -- ./auto-fix-qortal.sh +curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/auto-fix-cron +crontab auto-fix-cron +exit 1