Hi, I have similar problem and find solution in portupgrade man page:
--
Sometimes a database may get corrupt and the pkgtools commands start to
abort due to segmentation fault. In such cases, run ``pkgdb -fu'' to
rebuild the database, and the problems will go away. If the command
Hello there,
I have problem setting params to the if_ndis card.
I'm using asus wl138g which is marvel chipset card.
I've compiled the driver using ndisgen and the dmesg says the card is ok.
When I try to do ifconfig ndis0 ssid SESS etc (with wep 128bit
encryption) the led on the card
Hello everybody,
Before FreeBSD 6.1, I was able to write a rc script which modifies the
rc.conf file.
All rc scripts exectuted after this first one would use the new rc.conf
then.
To make this work, I put the script in /etc/rc.d/ and tagged it with
BEFORE: rcconf.
Unfortunately, rcconf
What is the correct way for 6-STABLE to achieve what I want to do?
(i.e. write the rc.conf from a rc script)
I thought rc.conf was simply a script that set some variables. If
this is the case then you don't need to overwrite it - you simply need to
make your script set the appropriate variables
Pete French wrote:
What is the correct way for 6-STABLE to achieve what I want to do?
(i.e. write the rc.conf from a rc script)
I thought rc.conf was simply a script that set some variables. If
this is the case then you don't need to overwrite it - you simply need to
make your script set
I have investigated a bit more.
Setting the variables can't work. As far as I can see, rc.conf is
sourced from rc.subr. And every single script in /etc/rc.d/ sources
rc.subr, so they reload the rc.conf file for each call.
The rc scripts are being executed in a sub-shell though. So
overwriting
Yes, I think this is the solution.
It seems to depend on the filename, specifically the .sh extension.
CODE (in /etc/rc):
/etc/rc.d/*.sh) # run in current shell
Thanks, I am testing this now. I'll post back as soon as I got results
(1h or so...)
M.
[LoN]Kamikaze
One question remains though:
How can I make my script to be the very first rc script to be executed?
M.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL
On Tue, Jun 20, 2006 at 06:50:39PM +0200, M.Hirsch wrote:
One question remains though:
How can I make my script to be the very first rc script to be executed?
Add appropriate BEFORE entries so it is before all unparented scripts.
-- Brooks
--
Any statement of the form X is the one, true Y
As stated in my initial post, I used BEFORE: rcconf up to and
including 6.0.
So what is an appropriate BEFORE entry for 6-STABLE?
Sorry, I really can't find any documentation on this issue, not in
UPDATING and not in the mailing list archives either.
Thanks,
M.
Brooks Davis schrieb:
Add
Setting the variables can't work. As far as I can see, rc.conf is
sourced from rc.subr. And every single script in /etc/rc.d/ sources
rc.subr, so they reload the rc.conf file for each call.
Actually I was suggesting you overwrite rc.conf *itself* with the variable
setting code - so every
On Tue, Jun 20, 2006 at 06:58:15PM +0200, M.Hirsch wrote:
As stated in my initial post, I used BEFORE: rcconf up to and
including 6.0.
So what is an appropriate BEFORE entry for 6-STABLE?
Sorry, I really can't find any documentation on this issue, not in
UPDATING and not in the mailing
This is what I initially tried, but it didn't work due to a wrong
BEFORE: tag.
rcconf was removed from 6-STABLE, so my scripts didn't start at all
anymore.
Invalid dependencies seem to make rc-scripts not execute *at all* in
6-STABLE. (note taken)
So far I think I got it working now.
Thanks
On Tue, Jun 20, 2006 at 07:11:38PM +0200, M.Hirsch wrote:
Pete French schrieb:
Actually I was suggesting you overwrite rc.conf *itself* with the variable
setting code - so every script which reloads it gets the variables set.
Surely that would work ? Though it would mean your code would be
Ah, ok. I didn't get that correctly before.
It's just another shell script - nice hack, thanks ;)
M.
Brooks Davis schrieb:
Pete is suggested that you put the code in /etc/rc.conf. It's just
another shell script.
-- Brooks
___
Another problem solved :)
So when my script overwrote rc.conf, the file was already loaded and
thus overwriting it had no effect.
That's why it didn't work. (not with BEFORE: initrandom either).
This must have changed somewhen between 6.0 and 6-STABLE because it did
work in 6.0.
Thanks vm.
On 6/19/06, Todor Dragnev [EMAIL PROTECTED] wrote:
Thanks, I will use if_bridge from now.
Anyone have ideas about second problem? Maybe I must remove device usb
from GENERIC config and recompile kernel ?
This really is an FAQ. There are many ways. You can use the
device.hintsfile to tie
Hello:
I have two questions.
The first regards support for the Broadcom BCM94318 wireless LAN
adapter. When trying to compile the module for if_ndis using bcmwl5.inf
and bcmwl5.sys, I get the following error;
In file included from
Andrew Li wrote:
First, is there any way to instruct 'make release' to just build certain
packages (and their dependencies) for inclusion in the release instead
of a blanket NOPORTS? There's no need for us spend two/three days
From my experience with playing with make release, you can do
On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote:
Hello:
I have two questions.
The first regards support for the Broadcom BCM94318 wireless LAN
adapter. When trying to compile the module for if_ndis using bcmwl5.inf
and bcmwl5.sys, I get the following error;
Pyun YongHyeon wrote:
On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote:
Hello:
I have two questions.
The first regards support for the Broadcom BCM94318 wireless LAN
adapter. When trying to compile the module for if_ndis using bcmwl5.inf
and bcmwl5.sys, I get the
21 matches
Mail list logo