From 4a093c131760c573da8c4572a5cffb826ca60e2d Mon Sep 17 00:00:00 2001 From: Tim Eertmoed Date: Sun, 28 Sep 2025 19:25:25 +0200 Subject: [PATCH] usr/local/bin/custom/poe.sh aktualisiert --- usr/local/bin/custom/poe.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/usr/local/bin/custom/poe.sh b/usr/local/bin/custom/poe.sh index 8ea01fe..79dcbb1 100644 --- a/usr/local/bin/custom/poe.sh +++ b/usr/local/bin/custom/poe.sh @@ -31,10 +31,10 @@ expect { } send "configure terminal\r" expect "(config)#" -send "interface $port\r" -expect "(eth-$port)#" +send "interface $switch_port\r" +expect "(eth-$switch_port)#" send "no power-over-ethernet\r" -expect "(eth-$port)#" +expect "(eth-$switch_port)#" send "exit\r" expect "(config)#" send "exit\r" @@ -63,10 +63,10 @@ expect { } send "configure terminal\r" expect "(config)#" -send "interface $port\r" -expect "(eth-$port)#" +send "interface $switch_port\r" +expect "(eth-$switch_port)#" send "power-over-ethernet\r" -expect "(eth-$port)#" +expect "(eth-$switch_port)#" send "exit\r" expect "(config)#" send "exit\r"