Initial commit
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Essential init commands for transformers
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
ExecStart=/usr/sbin/transformers-init.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Init GPIO setting
|
||||
|
||||
# shellcheck disable=SC2046
|
||||
gpioset $(gpiofind BMC_READY)=0
|
||||
echo "BMC ready !!"
|
||||
# shellcheck disable=SC2046
|
||||
gpioset $(gpiofind RST_BMC_SGPIO)=1
|
||||
echo "Release reset SGPIO !!"
|
||||
Reference in New Issue
Block a user