On Thu, Feb 05, 2015 at 03:45:00PM +0000, thegeezer wrote:
> If you need things to be in place from the beginning then i can
> understand but you should be looking at /etc/local.d/
> postup on net.lo seems like an odd place to hook this kind of thing.

  I'm totally agree with you and that's why i ask about this here.

> I'd suggest you might want to even create a /etc/init.d/customerX   and
> /etc/init.d/customerY  which allows you to create start/stop and use
> rc-status to check rules are or are not in place, it's scarily simple to do.

  Yes, you are right. But i thought that netifrc has something like init()
hook by analogy with postup(). After years of debian experience i've looked at
gentoo and i was amazed by supplied features of netifrc (vlans, ip rules, ip
routes). In debian i need to code many things by hands in
/etc/network/interfaces. So, i just think that may be netifrc has something
like init() too.


-- 
Неманов Олег (Nemanov Oleg)

Reply via email to