Last active
March 24, 2017 07:43
-
-
Save mitsutaka/7d6652afe1515349bb94bdbaf853de42 to your computer and use it in GitHub Desktop.
Automatically update timezone after network connection by NetworkManager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# require: https://github.com/cdown/tzupdate | |
# path: /etc/NetworkManager/dispatcher.d/tzupdate | |
if [ "$2" = "up" ]; then | |
tzupdate | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment