Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
if-down.d ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dprovencher
n00b
n00b


Joined: 28 Jul 2006
Posts: 2
Location: Québec, Canada

PostPosted: Fri Jul 28, 2006 9:27 pm    Post subject: if-down.d ? Reply with quote

Hi, I'm in the process of setting up a Linux firewall with 2 ISP (load balacing and fault tolerance). I almost gathered all the information I need but there's one question still unanswered. Where's the folder /etc/network/ in Gentoo? This is where others distros like Debian have folders if-up, if-down, etc. I need those or a way to launch a script when a network interface goes down and up.

Thanks a lot!
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Jul 29, 2006 1:47 am    Post subject: Reply with quote

Take a look at the preup(), predown(), postup(), postdown() functions in /etc/conf.d/net.example

I think that is what you are looking for.
Back to top
View user's profile Send private message
dprovencher
n00b
n00b


Joined: 28 Jul 2006
Posts: 2
Location: Québec, Canada

PostPosted: Mon Jul 31, 2006 7:04 pm    Post subject: Reply with quote

Thanks a lot, that's precisely what I was looking for! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum