7
hosts/common/system/configs/timezone/timezone.sh
Normal file
7
hosts/common/system/configs/timezone/timezone.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
case "$2" in
|
||||
connectivity-change)
|
||||
if timezone=$(curl --fail https://ipapi.co/timezone); then
|
||||
timedatectl set-timezone "$timezone"
|
||||
fi
|
||||
;;
|
||||
esac
|
Reference in New Issue
Block a user