Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/forgot-dream/powerstats
Turn off Server when the power is CUT OFF
https://github.com/forgot-dream/powerstats
Last synced: 10 days ago
JSON representation
Turn off Server when the power is CUT OFF
- Host: GitHub
- URL: https://github.com/forgot-dream/powerstats
- Owner: Forgot-Dream
- License: agpl-3.0
- Created: 2021-06-12T15:00:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-12T15:13:21.000Z (over 3 years ago)
- Last Synced: 2023-10-20T19:52:57.002Z (about 1 year ago)
- Language: Python
- Size: 19.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PowerStats
黑叔定制插件,在停电的时候关闭服务器。# 原理
检测网络线缆是否被拔出。默认`拔出 = 断电`# 开源协议
Copyright (c) 2021 Forgot_Dream
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU Lesser General Public License
and a copy of GNU General Public License along with this program. If not, see