Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
c3929b6e
Commit
c3929b6e
authored
Nov 20, 2018
by
Igor Pecovnik
Browse files
Add SBC-benc to the menu
parent
f6edee0a
Changes
2
Show whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
c3929b6e
...
@@ -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
#
#
...
...
debian-config-submenu
View file @
c3929b6e
...
@@ -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
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment