Last change
on this file since 103996 was 103996, checked in by vboxsync, 13 months ago |
Additions/3D/mesa: export mesa-24.0.2 to OSE. bugref:10606
|
File size:
412 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | # shellcheck disable=SC2086 # we want word splitting
|
---|
3 |
|
---|
4 | if [ -z "$BM_POE_INTERFACE" ]; then
|
---|
5 | echo "Must supply the PoE Interface to power down"
|
---|
6 | exit 1
|
---|
7 | fi
|
---|
8 |
|
---|
9 | if [ -z "$BM_POE_ADDRESS" ]; then
|
---|
10 | echo "Must supply the PoE Switch host"
|
---|
11 | exit 1
|
---|
12 | fi
|
---|
13 |
|
---|
14 | SNMP_KEY="1.3.6.1.4.1.9.9.402.1.2.1.1.1.$BM_POE_INTERFACE"
|
---|
15 | SNMP_OFF="i 4"
|
---|
16 |
|
---|
17 | snmpset -v2c -r 3 -t 30 -cmesaci "$BM_POE_ADDRESS" "$SNMP_KEY" $SNMP_OFF
|
---|
Note:
See
TracBrowser
for help on using the repository browser.