#!/bin/sh # Copyright (C) 2005 Yan Morin ## # Use the daemon to hangup all calls (with netcat) # @author Yan Morin ## . ./global if [ ! -z `$pidof 'sflphoned'` ]; then callstring="hangupall calls\n" echo "Hangup all calls..." echo -en $callstring | $netcat else echo "sflphoned is already stopped" fi