mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-01 06:04:12 +08:00
1b374f8c91
This required updating the kernel to 5.16.12 to get a more stable boot process. That kernel rebuild caused an update of the container with piglit which that was missed in a previous MR, so we got new xfails in x86 swrast. Also, including modules on arm64 exposed a bug in v3d's poe-powered.sh rsyncing of modules. Acked-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15201>
18 lines
369 B
Bash
Executable File
18 lines
369 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -z "$BM_POE_INTERFACE" ]; then
|
|
echo "Must supply the PoE Interface to power down"
|
|
exit 1
|
|
fi
|
|
|
|
if [ -z "$BM_POE_ADDRESS" ]; then
|
|
echo "Must supply the PoE Switch host"
|
|
exit 1
|
|
fi
|
|
|
|
SNMP_KEY="1.3.6.1.4.1.9.9.402.1.2.1.1.1.$BM_POE_INTERFACE"
|
|
SNMP_ON="i 1"
|
|
SNMP_OFF="i 4"
|
|
|
|
snmpset -v2c -r 3 -t 30 -cmesaci $BM_POE_ADDRESS $SNMP_KEY $SNMP_OFF
|