#!/bin/bash
# Copyright 2013 Monterey Bay Aquarium Research Institute, all rights reserved.
# Kill associated pppd
echo Kill console ppp daemon
pid=`ps -eaf | grep 'pppd.*/dev/ttyLX6' | grep -v grep | awk '{print $2}'`
kill $pid

echo Turn off console radio
/home/smc/bin/SetPowerSwitch 4 0
