melawy-archiso-config/Melawy-Linux-NetInstall/airootfs/etc/NetworkManager/dispatcher.d/09-timezone

7 lines
136 B
Bash

#!/bin/sh
case "$2" in
connectivity-change)
timedatectl set-timezone "$(curl --fail https://ipapi.co/timezone)"
;;
esac