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
f8268201
Commit
f8268201
authored
Oct 04, 2017
by
Igor Pecovnik
Browse files
Adjusting text in menu
parent
706f5972
Changes
2
Show whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
f8268201
...
...
@@ -526,7 +526,7 @@ function jobs ()
# Freeze and unfreeze kernel and board support packages
#
"
Hold"
|
"Unhold
"
)
"
Freeze"
|
"Defreeze
"
)
dialog
--title
" Updating "
--backtitle
"
$BACKTITLE
"
--yes-label
"
$1
"
--no-label
"Back"
--yesno
\
"
\n
Do you want to
${
1
,,
}
kernel updates?"
7 42
if
[[
$?
=
0
]]
;
then
...
...
debian-config-submenu
View file @
f8268201
...
...
@@ -648,9 +648,9 @@ while true; do
[[
$(
sed
-n
's/^DEVNAME=//p'
/sys/dev/block/
$(
mountpoint
-d
/
)
/uevent 2> /dev/null
)
==
mmcblk
*
&&
-f
/usr/sbin/nand-sata-install
]]
\
&&
LIST+
=(
"Install"
"Install to SATA, eMMC, NAND or USB"
)
if
[[
-n
$(
apt-mark showhold |
grep
-w
"
$BOARD
"
)
]]
;
then
LIST+
=(
"
Unhold"
"Un-Freeze kernel and board support packages
"
)
LIST+
=(
"
Defreeze"
"Defreeze firmware upgrade
"
)
else
LIST+
=(
"
Hold
"
"Freeze
kernel and board support packages
"
)
LIST+
=(
"
Freeze
"
"Freeze
firmware upgrade
"
)
fi
[[
-n
$(
grep
-w
"#kernel.printk"
/etc/sysctl.conf
)
]]
&&
LIST+
=(
"Lowlevel"
"Stop low-level messages on console"
)
[[
-f
/boot/armbianEnv.txt
]]
&&
LIST+
=(
"Bootenv"
"Edit boot environment"
)
...
...
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