Hi.
Now moving onto trying Batocera on an RPi3. Bought an OnOffShim (https://shop.pimoroni.com/collections/raspberry-pi/products/onoff-shim) and it directs you to install a script via:
curl https://get.pimoroni.com/onoffshim | bash
I SSH'd successfuly into 'root' ran the above command and got loads of errors:
=============================================================================
login as: root
root@Tomodore74's password:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 38496 100 38496 0 0 209k 0 --:--:-- --:--:-- --:--:-- 262k
This script will install everything needed to use
On/Off SHIM
main: line 136: tput: command not found
main: line 136: tput: command not found
Always be careful when running scripts and commands copied
main: line 136: tput: command not found
main: line 136: tput: command not found
from the internet. Ensure they are from a trusted source.
If you want to see what this script does before running it,
you should run: 'curl https://get.pimoroni.com/onoffshim'
stat: invalid option -- 'f'
BusyBox v1.26.2 (2017-06-04 09:08:00 CEST) multi-call binary.
Usage: stat [OPTIONS] FILE...
Display file status
-L Follow links
-t Terse display
main: line 280: /106: syntax error: operand expected (error token is "/106")
main: line 140: tput: command not found
main: line 140: tput: command not found
Running as root, please log in as a regular user with sudo rights!
% Total % Received % Xferd Average Speed Time Time Time Current
-sh: fg: %: no such job
Dload Upload Total Spent Left Speed
-sh: Dload: command not found
100 38496 100 38496 0 0 209k 0 --:--:-- --:--:-- --:--:-- 262k
-sh: 100: command not found
#
This script will install everything needed to use
-sh: This: command not found
On/Off SHIM
-sh: On/Off: No such file or directory
main: line 136: tput: command not found
-sh: main:: command not found
main: line 136: tput: command not found
-sh: main:: command not found
#
Always be careful when running scripts and commands copied
-sh: Always: command not found
main: line 136: tput: command not found
-sh: main:: command not found
main: line 136: tput: command not found
-sh: main:: command not found
from the internet. Ensure they are from a trusted source.
-sh: from: command not found
#
If you want to see what this script does before running it,
-sh: If: command not found
-sh: you: command not found
#
stat: invalid option -- 'f'
-sh: stat:: command not found
BusyBox v1.26.2 (2017-06-04 09:08:00 CEST) multi-call binary.
-sh: syntax error near unexpected token `('
#
Usage: stat [OPTIONS] FILE...
-sh: Usage:: command not found
#
Display file status
-sh: Display: command not found
#
-L Follow links
-sh: -L: command not found
-t Terse display
-sh: -t: command not found
main: line 280: /106: syntax error: operand expected (error token is "/106")
-sh: syntax error near unexpected token `('
main: line 140: tput: command not found
-sh: main:: command not found
main: line 140: tput: command not found
-sh: main:: command not found
Running as root, please log in as a regular user with sudo rights!
-sh: Running: command not found
#
#
Any ideas?