After cd into directory /opt/iventoy-1.0.20 and running command bash -x iventoy.sh start I get this:
+ '[' start = -R ']'
+ grep -P -q '^(start|stop|status)$'
+ echo start
+ :
+ case "$1" in
+ start
+ local PID
+ local RETVAL
++ iventoy_get_running_pid
++ local PID
++ local FILE
++ '[' -f /var/run/iventoy.pid ']'
++ echo 0
+ PID=0
+ '[' 0 -ne 0 ']'
+ cd /opt/iventoy-1.0.20
+ env IVENTOY_API_ALL=1 /opt/iventoy-1.0.20/lib/iventoy
4: ┼⎺├ °⎺┤┼␍-1.0.20/lib/iventoy: 1: /opt/iventoy-1.0.20/lib/iventoy: 1: lVqX99
ELF: ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 2: : ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 3:├=≤: ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 4: 3: ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 5: N: ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 6: : ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 1: S≤┼├▒│ ␊⎼⎼⎺⎼: ┬⎺⎼␍ ┤┼␊│⎻␊␌├␊␍ (␊│⎻␊␌├␋┼± ")")
→ RETVAL=2
→ '[' 2 ↑␊─ ▮ ']'
→ ␊␌⎺ '␋┴␊┼├⎺≤ ⎽├▒⎼├ FAILED'
␋┴␊┼├⎺≤ ⎽├▒⎼├ FAILED
→ ␊│␋├ ▮
⎼⎺⎺├@⎻│␊:/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮#
This means my bash console is messed up with weird characters.
It this software iVentoy build for x86_64 architecture only?
+ '[' start = -R ']'
+ grep -P -q '^(start|stop|status)$'
+ echo start
+ :
+ case "$1" in
+ start
+ local PID
+ local RETVAL
++ iventoy_get_running_pid
++ local PID
++ local FILE
++ '[' -f /var/run/iventoy.pid ']'
++ echo 0
+ PID=0
+ '[' 0 -ne 0 ']'
+ cd /opt/iventoy-1.0.20
+ env IVENTOY_API_ALL=1 /opt/iventoy-1.0.20/lib/iventoy
4: ┼⎺├ °⎺┤┼␍-1.0.20/lib/iventoy: 1: /opt/iventoy-1.0.20/lib/iventoy: 1: lVqX99
ELF: ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 2: : ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 3:├=≤: ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 4: 3: ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 5: N: ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 6: : ┼⎺├ °⎺┤┼␍
/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮/┌␋␉/␋┴␊┼├⎺≤: 1: S≤┼├▒│ ␊⎼⎼⎺⎼: ┬⎺⎼␍ ┤┼␊│⎻␊␌├␊␍ (␊│⎻␊␌├␋┼± ")")
→ RETVAL=2
→ '[' 2 ↑␊─ ▮ ']'
→ ␊␌⎺ '␋┴␊┼├⎺≤ ⎽├▒⎼├ FAILED'
␋┴␊┼├⎺≤ ⎽├▒⎼├ FAILED
→ ␊│␋├ ▮
⎼⎺⎺├@⎻│␊:/⎺⎻├/␋┴␊┼├⎺≤↑1↓▮↓2▮#
This means my bash console is messed up with weird characters.
It this software iVentoy build for x86_64 architecture only?