#!/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