Results 1 to 2 of 2
  1.    #1  
    Hello,

    On WebOS 1.4.x I changed the script in /etc/pmnetconfig/if-up to correct some routing tables when connected to my company wlan. I just upgraded my Pre- to WebOS 2.1.0, and the scripts in that directory are completely different to the 1.4.x ones. Is there any way to execute scripts in 2.1.0 when a network interface connects (like the if-up script)?
  2.    #2  
    Answer to self: one way to do this is to edit /etc/PmWiFiDhclient-script. Uncomment the lines

    if [ -f /etc/dhclient-exit-hooks ]; then
    . /etc/dhclient-exit-hooks
    fi

    Then create /etc/dhclient-exit-hooks and put in there your own scripts.

Posting Permissions