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
1908bb86
Commit
1908bb86
authored
Jul 27, 2017
by
Igor Pečovnik
Committed by
GitHub
Jul 27, 2017
Browse files
Merge pull request #9 from crohlfs/patch-1
Fix "toogle" typo
parents
f8f3c329
a2d77d7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config
View file @
1908bb86
...
@@ -277,7 +277,7 @@ while true; do
...
@@ -277,7 +277,7 @@ while true; do
LIST+
=(
"Network"
"Edit network settings"
)
LIST+
=(
"Network"
"Edit network settings"
)
LIST+
=(
"-"
""
)
LIST+
=(
"-"
""
)
LIST+
=(
"Services"
"Toggle running services"
)
LIST+
=(
"Services"
"Toggle running services"
)
LIST+
=(
"Welcome"
"To
o
gle welcome screen items"
)
LIST+
=(
"Welcome"
"To
g
gle welcome screen items"
)
if
[[
-z
$(
apt-mark showhold |
grep
-w
"
$BOARD
"
)
]]
;
then
if
[[
-z
$(
apt-mark showhold |
grep
-w
"
$BOARD
"
)
]]
;
then
[[
-f
/etc/apt/sources.list.d/armbian.list
]]
&&
[[
-n
$(
grep
-w
apt /etc/apt/sources.list.d/armbian.list
)
]]
\
[[
-f
/etc/apt/sources.list.d/armbian.list
]]
&&
[[
-n
$(
grep
-w
apt /etc/apt/sources.list.d/armbian.list
)
]]
\
&&
LIST+
=(
"Nightly"
"Switch to nightly builds"
)
&&
LIST+
=(
"Nightly"
"Switch to nightly builds"
)
...
@@ -324,7 +324,7 @@ while true; do
...
@@ -324,7 +324,7 @@ while true; do
case
$selection
in
case
$selection
in
# To
o
gle welcome screen items
# To
g
gle welcome screen items
#
#
"Welcome"
)
"Welcome"
)
while
true
;
do
while
true
;
do
...
@@ -348,7 +348,7 @@ while true; do
...
@@ -348,7 +348,7 @@ while true; do
LISTLENGHT
=
"
$((
$LIST_CONST
+
${#
MOTD
[@]
}
/
2
))
"
LISTLENGHT
=
"
$((
$LIST_CONST
+
${#
MOTD
[@]
}
/
2
))
"
exec
3>&1
exec
3>&1
selection
=
$(
dialog
--backtitle
"
$BACKTITLE
"
--title
"To
o
gle motd executing scripts"
--clear
--cancel-label
\
selection
=
$(
dialog
--backtitle
"
$BACKTITLE
"
--title
"To
g
gle motd executing scripts"
--clear
--cancel-label
\
"Exit"
--ok-label
"Save"
--checklist
"
\n
Choose what you want to enable or disable:
\n
"
\
"Exit"
--ok-label
"Save"
--checklist
"
\n
Choose what you want to enable or disable:
\n
"
\
$LISTLENGHT
70 15
"
${
MOTD
[@]
}
"
2>&1 1>&3
)
$LISTLENGHT
70 15
"
${
MOTD
[@]
}
"
2>&1 1>&3
)
exit_status
=
$?
exit_status
=
$?
...
@@ -770,4 +770,4 @@ while true; do
...
@@ -770,4 +770,4 @@ while true; do
esac
esac
done
done
\ No newline at end of file
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