niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » NetBSD
Installing packages
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
KCA
*nix forums beginner


Joined: 27 May 2005
Posts: 3

PostPosted: Fri Jun 10, 2005 12:54 am    Post subject: Installing packages Reply with quote

Greetings,

I'm a newcommer to BSD in general and NetBSD in particular. I've gotten
it up and running on a laptop and a desk top so far. I have a question
regarding installs. When installing a package, is the install supposed
to add the file that belongs in /etc/rc.d or is that something that I do
manually? Thanks. I'm actually enjoying NetBSD more than Linux, not
that i've managed to do much with either...

K
Back to top
m. kolb
*nix forums beginner


Joined: 10 Jun 2005
Posts: 1

PostPosted: Fri Jun 10, 2005 12:41 pm    Post subject: Re: Installing packages Reply with quote

KCA <kadams@apk.net> writes:

Quote:
I'm a newcommer to BSD in general and NetBSD in particular. I've gotten
it up and running on a laptop and a desk top so far. I have a question
regarding installs. When installing a package, is the install supposed
to add the file that belongs in /etc/rc.d or is that something that I do
manually? Thanks. I'm actually enjoying NetBSD more than Linux, not
that i've managed to do much with either...

Generally a well put together package will include an example rc.d/ file
in ${LOCALBASE}/${RCD_SCRIPTS_EXAMPLEDIR} which is likely
/usr/pkg/share/examples/rc.d/filename

You just copy that to /etc/rc.d/ then set the proper variable in
/etc/rc.conf
often filename=YES

Good luck!

../muk

--
m. kolb <muk@msu.edu>
Back to top
KCA
*nix forums beginner


Joined: 27 May 2005
Posts: 3

PostPosted: Fri Jun 10, 2005 2:33 pm    Post subject: Re: Installing packages Reply with quote

In article <ygf7jh21dg9.fsf@thompson.mail.msu.edu>, muk@msu.edu says...
Quote:
KCA <kadams@apk.net> writes:

I'm a newcommer to BSD in general and NetBSD in particular. I've gotten
it up and running on a laptop and a desk top so far. I have a question
regarding installs. When installing a package, is the install supposed
to add the file that belongs in /etc/rc.d or is that something that I do
manually? Thanks. I'm actually enjoying NetBSD more than Linux, not
that i've managed to do much with either...

Generally a well put together package will include an example rc.d/ file
in ${LOCALBASE}/${RCD_SCRIPTS_EXAMPLEDIR} which is likely
/usr/pkg/share/examples/rc.d/filename

You just copy that to /etc/rc.d/ then set the proper variable in
/etc/rc.conf
often filename=YES

Good luck!

./muk



Thanks! Thats what i've been doing but wasn't sure it was correct.
Actually i've never changed any of the package variables so the file
tends to be in the /usr/pkgsrc/<package>/work directory. Thanks again.

K
Back to top
Karsten Kruse
*nix forums beginner


Joined: 22 Feb 2005
Posts: 21

PostPosted: Fri Jun 17, 2005 11:50 am    Post subject: Re: Installing packages Reply with quote

KCA wrote:
Quote:
In article <ygf7jh21dg9.fsf@thompson.mail.msu.edu>, muk@msu.edu says...

KCA <kadams@apk.net> writes:


When installing a package, is the install supposed to add the file
that belongs in /etc/rc.d or is that something that I do manually?

Generally a well put together package will include an example rc.d/
file in ${LOCALBASE}/${RCD_SCRIPTS_EXAMPLEDIR} which is likely
/usr/pkg/share/examples/rc.d/filename

You just copy that to /etc/rc.d/ then set the proper variable in
/etc/rc.conf
often filename=YES

Thanks! Thats what i've been doing but wasn't sure it was correct.
Actually i've never changed any of the package variables so the file
tends to be in the /usr/pkgsrc/<package>/work directory. Thanks again.

I use links, that way i never have to worry about updated rc.d-Scripts.

Karsten

--
Homepage, Mac68k, A/UX-Links und Shorties: www.tecneeq.de
() Linux/NetBSD-Anleitungen, Forum und Chat: www.newbie-net.de
<\/> GPL-guy: "Argh, they used my code! :-/"
_/\_ BSD-guy: "Cool, they used my code! Smile"
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 6:25 am | All times are GMT
navigation Forum index » *nix » BSD » NetBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts ftp.debian.org & amd64 packages tanelko Debian 1 Fri Jul 21, 2006 2:10 pm
No new posts Work-needing packages report for Jul 21, 2006 wnpp@debian.org devel 0 Fri Jul 21, 2006 6:50 am
No new posts Installing things Shane Debian 4 Fri Jul 21, 2006 6:00 am
No new posts I compiled bmon and webdavfs2 - packages for slackware 10.1 Michales Michaloudes Slackware 2 Thu Jul 20, 2006 10:28 am
No new posts installing solaris 10 on a v880 bl8n8r Solaris 3 Wed Jul 19, 2006 6:18 pm

Credit Cards | Actress | Free Games | Western Union Money Order | Secured Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3121s ][ Queries: 16 (0.2252s) ][ GZIP on - Debug on ]