Files
linux-kernel-module-cheat/rootfs_overlay/lkmc/rand_check_poweroff.sh
Ciro Santilli 六四事件 法轮功 0ef494b681 migrate all
2019-05-05 00:00:00 +00:00

13 lines
380 B
Bash
Executable File

#!/bin/sh
set -ex
./linux/rand_check.out
# Check if network is being replayed.
# https://superuser.com/questions/635020/how-to-know-current-time-from-internet-from-command-line-in-linux
# https://tf.nist.gov/tf-cgi/servers.cgi
#echo | nc 129.6.15.28 13
# busybox's poweroff panics, TODO why. Likely tries to kill shell.
# So just use our super raw command.
./linux/poweroff.out