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
c1fc4154
Commit
c1fc4154
authored
May 02, 2018
by
Igor Pecovnik
Browse files
add installing armbian-firmware
parent
e0394184
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
c1fc4154
...
@@ -155,6 +155,16 @@ function jobs ()
...
@@ -155,6 +155,16 @@ function jobs ()
;;
;;
# Toggle mini and full firmware
#
"Full"
|
"Mini"
)
if
!
is_package_manager_running
;
then
echo
"debconf-apt-progress -- apt-get -y install armbian-firmware
$(
echo
-
"
${
1
,,
}
"
|
sed
's/-mini//'
)
"
read
fi
;;
# Set the display resolution
# Set the display resolution
#
#
"Display"
)
"Display"
)
...
...
debian-config-submenu
View file @
c1fc4154
...
@@ -273,6 +273,15 @@ while true; do
...
@@ -273,6 +273,15 @@ while true; do
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
\
LIST+
=(
"Headers"
"Install kernel headers"
)
;
fi
LIST+
=(
"Headers"
"Install kernel headers"
)
;
fi
if
[[
-d
/etc/armbian
]]
;
then
if
[[
-n
$(
dpkg
-l
|
grep
linux-firmware-full
)
]]
;
then
LIST+
=(
"Mini"
"Install mini firmware package"
)
;
else
LIST+
=(
"Full"
"Install full firmware package"
)
;
fi
fi
if
[[
-n
$DISPLAY_MANAGER
]]
;
then
if
[[
-n
$DISPLAY_MANAGER
]]
;
then
if
[[
$(
service xrdp status 2> /dev/null |
grep
-w
active
)
]]
;
then
if
[[
$(
service xrdp status 2> /dev/null |
grep
-w
active
)
]]
;
then
LIST+
=(
"RDP"
"Disable remote desktop access from Windows"
)
LIST+
=(
"RDP"
"Disable remote desktop access from Windows"
)
...
...
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