#!/bin/sh
# ---------------------------------------------------------------------------
# NAME
#
#     RacomPowerOff - power off sequence for Racom Radio modem on the SMC for Mobile WGMS usage
#
#
# DESCRIPTION
#
#     Power off the ethernet switch and Racom Radio Modem and the ethernet port on the SMC
#
# ---------------------------------------------------------------------------

# Power off the ethernet port on the SMC
sudo ifconfig eth0 down

# Power off the Racom Radio Modem
sudo SetPowerSwitch 3 0

# Power off the Ethernet switch
sudo SetPowerSwitch 2 0

