Files
scripts-conlxsyslog03/reboot_AP.sh
conetadm 5718e70f15 init
2024-11-14 21:11:06 +01:00

10 lines
388 B
Bash
Executable File

#!/bin/bash
hlogin -c "conf t ; int A22 ; disable ; no power" switch-dbs-106
hlogin -c "conf t ; int 5 ; disable ; no power" switch-dbs-107
sleep 10
hlogin -c "conf t ; int A22 ; enable ; power" switch-dbs-106
hlogin -c "conf t ; int 5 ; enable ; power" switch-dbs-107
echo "WLAN APs (10.130.50.1, 2) am Boersenplatz neu gestartet!" | mail -s "WLAN APs neu gestartet" help@conet.de