# shellcheck shell=bash case "$2" in connectivity-change) if timezone=$(curl --fail https://ipapi.co/timezone); then timedatectl set-timezone "$timezone" fi ;; esac