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
|
-
Property svn:executable
set to
*
|
File size:
393 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ -z "$BM_POE_INTERFACE" ]; then
|
---|
4 | echo "Must supply the PoE Interface to power up"
|
---|
5 | exit 1
|
---|
6 | fi
|
---|
7 |
|
---|
8 | if [ -z "$BM_POE_ADDRESS" ]; then
|
---|
9 | echo "Must supply the PoE Switch host"
|
---|
10 | exit 1
|
---|
11 | fi
|
---|
12 |
|
---|
13 | SNMP_KEY="SNMPv2-SMI::mib-2.105.1.1.1.3.1.$((48 + BM_POE_INTERFACE))"
|
---|
14 | SNMP_OFF="i 2"
|
---|
15 |
|
---|
16 | flock /var/run/poe.lock -c "snmpset -v2c -r 3 -t 30 -cmesaci $BM_POE_ADDRESS $SNMP_KEY $SNMP_OFF"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.