Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,10 @@
#!/bin/sh
myaddress=$(gpiofind PSU1_INST)
state=$(gpioget "$myaddress")
if [ "r$state" = "r1" ]
then
psus-manager 1 up
else
psus-manager 1 down
fi
/usr/bin/phosphor-multi-gpio-monitor --config /usr/share/gpios/psu1.json