On 14 Aug 2002 11:03:42 +0400 "Vladimir B. " Grebenschikov <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message