Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2002 10:33:58 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        "Vladimir B. " Grebenschikov <vova@sw.ru>
Cc:        makonnen@pacbell.net, current@FreeBSD.ORG
Subject:   Re: rcNG and dhcp
Message-ID:  <20020814103358.1299b35d.Alexander@Leidinger.net>
In-Reply-To: <1029308622.736.18.camel@vbook.express.ru>
References:  <1029141620.800.14.camel@vbook.express.ru> <20020813090036.090538bf.makonnen@pacbell.net> <1029256599.741.18.camel@vbook.express.ru> <20020813223451.0e39200b.makonnen@pacbell.net> <1029308622.736.18.camel@vbook.express.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14 Aug 2002 11:03:42 +0400 "Vladimir B. " Grebenschikov <vova@sw.ru>
wrote:

> > Then, bring the interface down manually (it's even easier now that
> > you can insert your own script in the rc boot process). I am not
> > being flippant.
> 
> Of course I can patch my rc.d/network1 manually or/and add number of
> "smart" scripts, but I simply wants to share solution with other
> people.

Only commenting on "patching network1":
Just modify /etc/start_if.<interface_name>, e.g.:
---snip---
(8) netchild@ttyp2 % < /etc/start_if.wi0 
#!/bin/sh

interface=$1
shift
start_or_stop=$1
shift

case ${start_or_stop} in
[Ss][Tt][Oo][Pp])
        ;;
*)
        wicontrol -i ${interface} -p 3 #-c 1
        ifconfig ${interface} inet ...
        ;;
esac
---snip---

Bye,
Alexander.

-- 
                Where do you think you're going today?

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020814103358.1299b35d.Alexander>