Simple Script for Restarting bwctld

#!/bin/bash

#This script stops and restarts bwctld

bwctld_pid=`cat /var/run/bwctld.pid`
echo "Killing $bwctld_pid ..."
sudo kill $bwctld_pid
sudo /usr/bin/bwctld -c /etc/bwctld -R /var/run
echo "bwctld restarted"

<\verbatim>
-- Main.TobyRodwell - 19 Sep 2006
Topic revision: r1 - 2006-09-19 - TobyRodwell
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2004-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.