Hi digimaster

I looked into .config/.SYSCHECK and found the following bug:

1. ANSI color code imcompatible with my putty.

#       RED='\e[101m'           # ${RED}
RED='\033[101m'         # ${RED}

#       BLINKING='\e[5m'        # ${BLINKING}
BLINKING='\033[5m'      # ${BLINKING}

2. On picoreplayer 5.0.0 and 6.0.0, df has no -T -P options.
This causes disc space error.

# ARGS=$(/bin/df -hTP ${QPKG_ROOT} 2>/dev/null)
ARGS=$(/bin/df -h ${QPKG_ROOT} 2>/dev/null)


3. On picoreplayer 5.0.0 & 6.0.0, ping options can only go before
hostname. 
This cause ./QLogitechMediaServer.sh config runs forever.
Also, ping doesn't support option -W. I change to -w.

#ARGS=$(/bin/ping qnapclub.eu -W 5 -c 1 -q 2>/dev/null)
ARGS=$(/bin/ping -w 5 -c 1 -q   qnapclub.eu  2>/dev/null)



After making these changes, 

[/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer] #
./QLogitechMediaServer.sh restart
Gone restart LogitechMediaServer !
LogitechMediaServer was already stopped !
Starting LogitechMediaServer in the Background.
/bin/grep: invalid option -- 'm'
BusyBox v1.01 (2020.04.12-19:10+0000) multi-call binary

Usage: grep [-ihHnqvs] PATTERN [FILEs...]

Search for PATTERN in each FILE or standard input.

Options:
-H      prefix output lines with filename where match was found
-h      suppress the prefixing filename on output
-i      ignore case distinctions
-l      list names of files that match
-n      print line number with output lines
-q      be quiet. Returns 0 if result was found, 1 otherwise
-v      select non-matching lines
-s      suppress file open/read error messages


/bin/grep: invalid option -- 'm'
BusyBox v1.01 (2020.04.12-19:10+0000) multi-call binary

Usage: grep [-ihHnqvs] PATTERN [FILEs...]

Search for PATTERN in each FILE or standard input.

Options:
-H      prefix output lines with filename where match was found
-h      suppress the prefixing filename on output
-i      ignore case distinctions
-l      list names of files that match
-n      print line number with output lines
-q      be quiet. Returns 0 if result was found, 1 otherwise
-v      select non-matching lines
-s      suppress file open/read error messages



/bin/grep: invalid option -- 'm'
BusyBox v1.01 (2020.04.12-19:10+0000) multi-call binary

Usage: grep [-ihHnqvs] PATTERN [FILEs...]

Search for PATTERN in each FILE or standard input.

Options:
-H      prefix output lines with filename where match was found
-h      suppress the prefixing filename on output
-i      ignore case distinctions
-l      list names of files that match
-n      print line number with output lines
-q      be quiet. Returns 0 if result was found, 1 otherwise
-v      select non-matching lines
-s      suppress file open/read error messages



/bin/grep: invalid option -- 'm'
BusyBox v1.01 (2020.04.12-19:10+0000) multi-call binary

Usage: grep [-ihHnqvs] PATTERN [FILEs...]

Search for PATTERN in each FILE or standard input.

Options:
-H      prefix output lines with filename where match was found
-h      suppress the prefixing filename on output
-i      ignore case distinctions
-l      list names of files that match
-n      print line number with output lines
-q      be quiet. Returns 0 if result was found, 1 otherwise
-v      select non-matching lines
-s      suppress file open/read error messages


------------------------------------------------------------------------
dream's Profile: http://forums.slimdevices.com/member.php?userid=70004
View this thread: http://forums.slimdevices.com/showthread.php?t=108702

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to