#!/bin/bash

#  qstop  --  stop current network process
#  vers. 1.1  July 2008
#  by sdjf
#

if [ "$1" ]; then
  echo
  echo " This script shuts down networking processes"
  echo " using QPE. It should only be be invoked when"
  echo " there is an active,  current networking"
  echo " process that you wish to shut down.  It was"
  echo " designed to be used when neither \"Disconnect\""
  echo " nor \"Abort\" is displayed as an option on the"
  echo " taskbar's network applet popup."
  echo
  echo " Warning!! Invoking this script at any other"
  echo " times could freeze your machine and require"
  echo " rebooting.  Be careful with it!"
  echo 
  echo " Script was written and tested on an sl5500  "
  echo " using Sharp ROM 2.38 but may be helpful on "
  echo " other Qtopia setups"
  echo
 exit
fi
qcop QPE/Network  'stop()'

exit

