ResetAllMySmallSystems


#!/bin/sh

# Resets all my small equipment.

# This script was written by Stephan Seidl in 2010, no copyright is claimed.
# It is offered as-is, without any warranty.
# This script is in the public domain; do with it what you wish.

unset LANG LC_ALL
LC_ALL=C
export LC_ALL

set -e

echo "Begin of Modem."
DlinkDsl320bReboot
echo "End of Modem."

sleep 180

echo "Begin of ADSL router."
DdwrtControl -r
echo "End of ADSL router."

sleep 180

echo "Begin of WLAN bridge."
DdwrtControl -r -h wa1.snet
echo "End of WLAN bridge."

sleep 180

echo "Begin of Telephone."
GrandstreamGxp2010Reboot
echo "End of Telephone."

sleep 180

echo "Begin of UPS NMC."
EatonNmc66102Reboot
echo "End of UPS NMC."

echo "All done."


Stephan K.H. Seidl