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
398c0b01
Commit
398c0b01
authored
Aug 27, 2018
by
Igor Pecovnik
Browse files
Improving UX
https://github.com/armbian/config/issues/31
parent
82ca5e26
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
398c0b01
...
...
@@ -932,9 +932,9 @@ function jobs ()
LISTLENGHT
=
"
$((
$LIST_CONST
+
${#
MOTD
[@]
}
/
2
))
"
exec
3>&1
selection
=
$(
dialog
--backtitle
"
$BACKTITLE
"
--title
"Toggle hardware config"
--clear
--cancel-label
\
"
Cancel
"
--ok-label
"Save"
--checklist
"
\n
Choose what you want to enable or disable:
\n
"
\
$LISTLENGHT
7
0
$LISTLENGHT
"
${
MOTD
[@]
}
"
2>&1 1>&3
)
selection
=
$(
dialog
--backtitle
"
$BACKTITLE
"
--colors
--title
"Toggle hardware config
uration
"
--clear
--cancel-label
\
"
Exit
"
--ok-label
"Save"
--checklist
"
\n
Use
\Z
1<space>
\Z
0 to toggle functions and save them. Exit when you are done.
\n
"
\
$LISTLENGHT
8
0
$LISTLENGHT
"
${
MOTD
[@]
}
"
2>&1 1>&3
)
exit_status
=
$?
exec
3>&-
...
...
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