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
278dc94d
Commit
278dc94d
authored
May 21, 2017
by
Igor Pecovnik
Browse files
Add Timezone change
parent
e0441c8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config
View file @
278dc94d
...
...
@@ -204,6 +204,7 @@ while true; do
LIST
=()
#
# here we add new items to menu. with condition when needed
LIST+
=(
"Timezone"
"Change your timezone"
)
[[
-f
/usr/sbin/nand-sata-install
]]
&&
LIST+
=(
"Install"
"Install to SATA, eMMC, NAND or USB"
)
if
[[
-n
$(
service hostapd status |
grep
-w
active |
grep
-w
running
)
]]
;
then
[[
-n
$(
nmcli
-f
DEVICE,TYPE device status |
grep
wifi
)
]]
&&
LIST+
=(
"Hotspot"
"Manage WiFi access point"
)
...
...
@@ -368,6 +369,12 @@ while true; do
rcconf
;;
# Change timezone
#
"Timezone"
)
dpkg-reconfigure tzdata
;;
# Stop low-level messages on console
#
...
...
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