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"
– Main.TobyRodwell - 19 Sep 2006