SCIENTIFIC-LINUX-USERS Archives

October 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
carlopmart <[log in to unmask]>
Reply To:
carlopmart <[log in to unmask]>
Date:
Wed, 12 Oct 2011 20:15:31 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
On 10/12/2011 07:53 PM, Vladimir Mosgalin wrote:
> Hi carlopmart!
>
>   On 2011.10.12 at 18:42:30 +0200, carlopmart wrote next:
>
>>   Is it possible under SL6.1 to run a script (or insert commands in
>> ifcfg-ethX files) when a nic is up, immediatly after network script
>> runs?? Like for example it can do with debian/ubuntu: post-up
>> post-down.
>
> /sbin/ifup-pre-local and /sbin/ifdown-pre-local are executed (if exist)
> before bringing interface up&  down
>
> /sbin/ifup-local and /sbin/ifup-local are executed (if exist) after
> bringing interface up&  down and setting up routes.
>
> Argument to each will be interface name. Note that if you have aliases,
> this script will be called for each alias.
>
>
>

Many thanks Vladimir.

-- 
CL Martinez
carlopmart {at} gmail {d0t} com

ATOM RSS1 RSS2