Update README.md

This commit is contained in:
gunu3371 2024-07-15 21:51:56 +09:00 committed by GitHub
parent 84d2f28347
commit 428909acb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,10 +7,10 @@ ODROID-M1S 용 UPS모듈용 파이썬 스크립트
+ BE400같은 통신기능이 없는 UPS를 대신하여 다른 서버/컴퓨터에 종료신호 뿌리기(작업중) + BE400같은 통신기능이 없는 UPS를 대신하여 다른 서버/컴퓨터에 종료신호 뿌리기(작업중)
+ ### 설치방법 + ### 설치방법
+ 1.https://wiki.odroid.com/odroid-m1s/application_note/circuitpython#set_environment 이링크를 따라서 /boot/config.ini 수정후 재부팅 + 1.https://wiki.odroid.com/odroid-m1s/application_note/circuitpython#set_environment 이링크를 따라서 /boot/config.ini 수정후 재부팅
+ 2.```bash git clone https://github.com/gunu3371/m1s_ups_control.git``` 실행 + 2.```git clone https://github.com/gunu3371/m1s_ups_control.git``` 실행
+ 3.```bash sh install_service.sh``` 실행 + 3.```sh install_service.sh``` 실행
+ ### 사용방법 + ### 사용방법
+ ```bash systemctl status m1s_ups``` 로 상태확인 + ```systemctl status m1s_ups``` 로 상태확인
+ ```/etc/m1s_ups/log/``` 에서 로그확인 + ```/etc/m1s_ups/log/``` 에서 로그확인
## EN ## EN
Python script for UPS module for ODROID-M1S Python script for UPS module for ODROID-M1S
@ -20,8 +20,8 @@ Python script for UPS module for ODROID-M1S
+ Providing a shutdown signal to other servers/computers in place of a UPS that does not have a communication function such as BE400 (work in progress) + Providing a shutdown signal to other servers/computers in place of a UPS that does not have a communication function such as BE400 (work in progress)
+ ### Installation method + ### Installation method
+ 1. https://wiki.odroid.com/odroid-m1s/application_note/circuitpython#set_environment Follow this link, edit /boot/config.ini and reboot. + 1. https://wiki.odroid.com/odroid-m1s/application_note/circuitpython#set_environment Follow this link, edit /boot/config.ini and reboot.
+ 2. Run ```bash git clone https://github.com/gunu3371/m1s_ups_control.git``` + 2. Run ```git clone https://github.com/gunu3371/m1s_ups_control.git```
+ 3. Run ```bash sh install_service.sh``` + 3. Run ```sh install_service.sh```
+ ### How to use + ### How to use
+ Check status with ```systemctl status m1s_ups``` + Check status with ```systemctl status m1s_ups```
+ Check log in ```/etc/m1s_ups/log/``` + Check log in ```/etc/m1s_ups/log/```