Commit 278dc94d authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Add Timezone change

parent e0441c8a
...@@ -204,6 +204,7 @@ while true; do ...@@ -204,6 +204,7 @@ while true; do
LIST=() LIST=()
# #
# here we add new items to menu. with condition when needed # 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" ) [[ -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 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" ) [[ -n $(nmcli -f DEVICE,TYPE device status | grep wifi) ]] && LIST+=( "Hotspot" "Manage WiFi access point" )
...@@ -368,6 +369,12 @@ while true; do ...@@ -368,6 +369,12 @@ while true; do
rcconf rcconf
;; ;;
# Change timezone
#
"Timezone" )
dpkg-reconfigure tzdata
;;
# Stop low-level messages on console # Stop low-level messages on console
# #
......
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