All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Leblond <eric@regit.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] IFUP scripts
Date: Mon, 18 Aug 2003 22:06:34 +0000	[thread overview]
Message-ID: <marc-lartc-106124445721362@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106124267319356@msgid-missing>

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

Le lun 18/08/2003 à 23:36, paul.walling@ntlworld.com a écrit :
> Hi,
> can someone tell me the script to hook my routing commands 
> into so that after my ethernet interface has gone down and
> subsequently been started again the routes are restored.

you can use the keyword : up
iface ...
     network
     up ip route add 192.168.1.0L/24 .....

more detail on "man interfaces" ;-)

> I have been looking at ifup in the /etc/sysconfig/network
> scripts directory.
> 
> Many thanks

-- 
Eric Leblond
Gnufw is Not a User mode FireWall : http://www.gnufw.org

[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-08-18 22:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-18 21:36 [LARTC] IFUP scripts paul.walling
2003-08-18 22:06 ` Eric Leblond [this message]
2003-08-18 22:43 ` paul.walling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-106124445721362@msgid-missing \
    --to=eric@regit.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.