netaction is a small software which enables launching of custom action based on network status.