On Mon, Nov 27, 2000 at 04:35:36PM +0100, Van Buggenhaut wrote:
> On Mon, Nov 27, 2000 at 01:08:03PM +0100, Nabil Hathout wrote:
> > Bonjour,
> >
> > Je travaille sur un portable et j'aimerais que des services comme NFS
> > ou des d�mons comme fetchmail soit lanc�s � l'introduction de ma carte
> > pcmcia ou une fois que la connection ppp est �tablie.
> >
> > Je voudrais savoir s'il existe un moyen � standard � d'accrocher le
> > lancement de ces services/d�mons � ifconfig (quand ils d�pendent du
> > r�seau) ?
>
> Je ne connais pas de moyen standard de le faire, mais je pense que tu peux
> hacker /sbin/ifup et /sbin/ifdown en r�cup�rant les sources puis les
> recompiler ...
>
STOOOOOOOP,
Je me r�ponds � moi-m�me :
cat /etc/ppp/ip-up
#!/bin/sh
#
# $Id: ip-up,v 1.2 1998/02/10 21:25:34 phil Exp $
#
# This script is run by the pppd after the link is established.
# It uses run-parts to run scripts in /etc/ppp/ip-up.d, so to add routes,
# set IP address, run the mailq etc. you should create script(s) there.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#
# Be aware that other packages may include /etc/ppp/ip-up.d scripts (named
# after that package), so choose local script names with that in mind.
#
Pas besoin de r��crire du code, donc.
>
> >
> > Cordialement,
> >
> > --Nabil Hathout
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
>
> --
> [EMAIL PROTECTED]
> http://www.eric.ath.cx
>
> Please don't send proprietary format documents, I can't (and don't want to)
> open them.
> Appreciated are open-source formats like .txt or .rtf. Dvi, ps or tex files
> are welcome.
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
--
[EMAIL PROTECTED]
http://www.eric.ath.cx
Please don't send proprietary format documents, I can't (and don't want to)
open them.
Appreciated are open-source formats like .txt or .rtf. Dvi, ps or tex files are
welcome.