Search squid archive

Re: trigger rediredt_url_program if there is a change in ip address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tor 2010-05-20 klockan 17:00 +0630 skrev jyothi:
> change in the system ip address. I am working on a project which detects the change in
> the connection (wired to wireless and so on) and based on the change, I need to take a
> appropriate action. Lets say I switch from WiFi to mobile broadband while browsing, I
> want to get a lighter version of web page.

If you are using NetworkManager then an easy spot for integrating things
like this is by placing a action in /etc/NetworkManager/dispatcher.d/

This is used by the Squid rpm on Fedora to automatically react on
network interface changes which changes /etc/resolv.conf and some other
important parameters.

Regards
Henrik


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux