Re: if-up et al script relocation

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

 



You can relocate them by producing a custom build of pppd with a changed
value for the _PATH_IPUP define in pathnames.h.

You can also write a plug-in for your application that uses the
ip_up_hook() to call your own script using ipcp_script().  Plugins are
selected by pppd options.

Debian carries a patch to pppd that iterates through each script in
/etc/ppp/if-up.d ... this can also be found in Ubuntu ... it is made
more useful setting ipparam on the pppd options, and testing the value
within the scripts.

-- 
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux