Commit c3929b6e authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Add SBC-benc to the menu

parent f6edee0a
...@@ -97,6 +97,16 @@ function jobs () ...@@ -97,6 +97,16 @@ function jobs ()
sleep 2 sleep 2
;; ;;
# SBC-becn
#
"Benchmarking" )
if [[ ! -f /usr/local/bin/sbc-benc ]]; then
wget -q -O /usr/local/bin/sbc-bench https://raw.githubusercontent.com/ThomasKaiser/sbc-bench/master/sbc-bench.sh
chmod +x /usr/local/bin/sbc-bench
fi
sbc-bench
;;
# Send diagnostics # Send diagnostics
# #
......
...@@ -331,6 +331,7 @@ while true; do ...@@ -331,6 +331,7 @@ while true; do
[[ -f /usr/bin/h3consumption && "$LINUXFAMILY" = "sun8i" && "$BRANCH" = "default" ]] && \ [[ -f /usr/bin/h3consumption && "$LINUXFAMILY" = "sun8i" && "$BRANCH" = "default" ]] && \
LIST+=( "Consumption" "Control board consumption" ) LIST+=( "Consumption" "Control board consumption" )
[[ -f /usr/bin/armbianmonitor ]] && LIST+=( "Monitor" "Simple CLI board monitoring" ) [[ -f /usr/bin/armbianmonitor ]] && LIST+=( "Monitor" "Simple CLI board monitoring" )
LIST+=( "Benchmarking" "sbc-bench board benchmarking" )
[[ -f /usr/bin/armbianmonitor ]] && LIST+=( "Diagnostics" "Send diagnostics" ) [[ -f /usr/bin/armbianmonitor ]] && LIST+=( "Diagnostics" "Send diagnostics" )
if [[ -n $(dpkg -l | grep linux-headers) ]]; then LIST+=( "Headers" "Remove kernel headers" ); else \ if [[ -n $(dpkg -l | grep linux-headers) ]]; then LIST+=( "Headers" "Remove kernel headers" ); else \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment