On 6/4/2011 11:28 PM, Kaushal Shriyan wrote: > Hi Again, > > Is there a way to set up hooks based on the network connection. > Please guide me with some examples. If you can elaborate "connection" for me I can give you an example sh script that can be run on login to change sources.list