mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-23 01:09:09 +00:00
10 lines
244 B
Plaintext
10 lines
244 B
Plaintext
|
#!/bin/bash
|
||
|
# this is the reset script for the BMC so we don't have to deal with awful
|
||
|
# curl scripts.
|
||
|
sleep 1
|
||
|
echo 0 > /sys/class/gpio/gpio315/value
|
||
|
sleep 1
|
||
|
echo 1 > /sys/class/gpio/gpio315/value
|
||
|
sleep 5
|
||
|
echo 0 > /sys/class/gpio/gpio315/value
|