Hi,
Attempting to do the first setup on my K2 Plus, I was met this with:
root@K2Plus-0B0C:~# sh /mnt/UDISK/helper-script/helper.sh
/mnt/UDISK/helper-script/helper.sh: .: line 183: can't open '/mnt/UDISK/helper-script/scripts/scripts/system.sh': No such file or directory
This is caused by two things in the helper.sh file:
Variable SCRIPTS_DIR at the top is declared as SCRIPT_DIR/scripts
And then at the bottom the script attempts to load . "$SCRIPTS_DIR/scripts/system.sh"
Which causes the double /scripts/scripts seen in the error.
Fixing the path at the bottom of the helper.sh file makes the script run normally. I didn't open a PR because I don't know if the repo is contrib friendly.
Cheers.
Hi,
Attempting to do the first setup on my K2 Plus, I was met this with:
This is caused by two things in the
helper.shfile:Variable
SCRIPTS_DIRat the top is declared asSCRIPT_DIR/scriptsAnd then at the bottom the script attempts to load
. "$SCRIPTS_DIR/scripts/system.sh"Which causes the double
/scripts/scriptsseen in the error.Fixing the path at the bottom of the
helper.shfile makes the script run normally. I didn't open a PR because I don't know if the repo is contrib friendly.Cheers.