diff --git a/web/app/docs/post-install/basic-settings/page.tsx b/web/app/docs/post-install/basic-settings/page.tsx index d1598f8..0450bd9 100644 --- a/web/app/docs/post-install/basic-settings/page.tsx +++ b/web/app/docs/post-install/basic-settings/page.tsx @@ -22,17 +22,10 @@ echo 'Acquire::Languages "none";' | sudo tee /etc/apt/apt.conf.d/99-disable-tran ` const timeSyncCode = ` -# Set timezone (replace 'America/New_York' with your timezone) -sudo timedatectl set-timezone America/New_York - -# Enable automatic time synchronization -sudo timedatectl set-ntp true - -# Note: Automatic timezone setting based on IP is commented out to avoid errors # To set timezone automatically based on IP, you would need to run: -# IP=$(dig +short myip.opendns.com @resolver1.opendns.com) -# TIMEZONE=$(curl -s "https://ipapi.co/$IP/timezone") -# sudo timedatectl set-timezone "$TIMEZONE" +IP=$(dig +short myip.opendns.com @resolver1.opendns.com) +TIMEZONE=$(curl -s "https://ipapi.co/$IP/timezone") +sudo timedatectl set-timezone "$TIMEZONE" ` const updateUpgradeCode = `