Re: poff quesition.....
Yes; but /usr/local/bin should precede /usr/bin and /bin. On Sat, Jul 17, 1999 at 02:49:29PM -0600, David Karlin wrote: Better write your own poff version, which does the stuff you want and then calls poff and place it into /usr/local/bin. If you change poff directly, the changes will be gone with the next upgrade of ppp. Ciao, Martin If my path (root) is: /sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/loca/bin and my path (user) is: /sbin:/bin:/usr/bin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin, wouldn't the original, /usr/bin/poff, be called instead of my new version, /usr/local/bin/poff? --D -- === David Karlin mailto:[EMAIL PROTECTED] http://funk48.home.travelin.com Powered by Debian GNU/Linux 2.1 === -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
poff quesition.....
Hello, I've got a script which is meant to be run just before closing my ppp connection. I'd thought of putting it in /etc/ppp/ip-down.d, but those scripts seem to be run *after* the ppp link goes down. Instead, it seems that my script should be incorporated into (or called by) poff. Should I put my command(s) at the very to of /usr/bin/poff, or is there a more appropriate location? Thanks, --David -- === David Karlin mailto:[EMAIL PROTECTED] http://funk48.home.travelin.com Powered by Debian GNU/Linux 2.1 ===
Re: poff quesition.....
David == David Karlin [EMAIL PROTECTED] wrote: David Instead, it seems that my script should be incorporated into David (or called by) poff. Should I put my command(s) at the very David to of /usr/bin/poff, or is there a more appropriate location? Better write your own poff version, which does the stuff you want and then calls poff and place it into /usr/local/bin. If you change poff directly, the changes will be gone with the next upgrade of ppp. Ciao, Martin
Re: poff quesition.....
Better write your own poff version, which does the stuff you want and then calls poff and place it into /usr/local/bin. If you change poff directly, the changes will be gone with the next upgrade of ppp. Ciao, Martin If my path (root) is: /sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/loca/bin and my path (user) is: /sbin:/bin:/usr/bin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin, wouldn't the original, /usr/bin/poff, be called instead of my new version, /usr/local/bin/poff? --D -- === David Karlin mailto:[EMAIL PROTECTED] http://funk48.home.travelin.com Powered by Debian GNU/Linux 2.1 ===
Re: poff quesition.....
David == David Karlin [EMAIL PROTECTED] wrote: David and my path (user) is: David /sbin:/bin:/usr/bin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin, David wouldn't the original, /usr/bin/poff, be called instead of my new version, David /usr/local/bin/poff? Yes. But what is the problem? a) make /usr/local/bin the first entry in $PATH or b) make a shell alias poff=/usr/local/bin/poff or c) use a different name for your version. Ciao, Martin