~xdavidwu/dotfiles

78aaa38b6660456d0c9d8d391addb38251e43805 — xdavidwu 3 years ago 7ec76da
bash: add timesync
1 files changed, 5 insertions(+), 0 deletions(-)

M .bashrc
M .bashrc => .bashrc +5 -0
@@ 105,6 105,11 @@ psave() {
	fi
}

timesync() {
	sudo busybox ntpd -dqn -p time.stdtime.gov.tw
	sudo busybox hwclock -wu
}

# application envs
# policy: should here even if global like /etc/environments
export GPG_TTY=$(tty)