feat:added auto NTP and timezone handling

This commit is contained in:
2022-11-14 22:46:26 +02:00
parent 8b033f7fc1
commit 101b00c4fd
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/sh
case "$2" in
up)
timedatectl set-timezone "$(curl --fail https://ipapi.co/timezone)"
;;
esac