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

add installing armbian-firmware

parent e0394184
......@@ -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
#
"Display" )
......
......@@ -273,6 +273,15 @@ while true; do
if [[ -n $(dpkg -l | grep linux-headers) ]]; then LIST+=( "Headers" "Remove kernel headers" ); else \
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 [[ $(service xrdp status 2> /dev/null | grep -w active) ]]; then
LIST+=( "RDP" "Disable remote desktop access from Windows" )
......
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