Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 544 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 544 Bytes

autoshutdown_when_poweroff

Autoit script

shutdown pc (using UPS power) when net cable is powerless or lost internet connection

auto shutdown when condition is satisfied below:

1.no internet under local network( real internet connection is not needed)

2.net cable has no power

edit whatever you like, but keep me updated.thanks

停电自动关机脚本

适用于 电脑有UPS电源,路由器直接插在外部电源

停电时路由器断电,脚本判断断电,并开始关机

随意使用,改了代码记得通知我。