Re: Xprint on NetBSD...
From: Roland Mainz (roland.mainz_at_informatik.med.uni-giessen.de)
Date: 11/27/03
- Next message: Paul Schmehl: "Re: Which BSD?"
- Previous message: Ted Unangst: "Re: Which BSD?"
- In reply to: Hubert Feyrer: "Re: Xprint on NetBSD..."
- Next in thread: Frederick Bruckman: "Re: Xprint on NetBSD..."
- Reply: Frederick Bruckman: "Re: Xprint on NetBSD..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Nov 2003 05:01:45 +0100
Hubert Feyrer wrote:
>
> In comp.unix.bsd.netbsd.misc Roland Mainz <roland.mainz@informatik.med.uni-giessen.de> wrote:
> > 1. I have no clue where the "xprint" init script (located at
> > xc/programs/Xserver/Xprint/etc/init.d/xprint in CVS) should be placed in
> > the NetBSD file hieracy... does anyone have a clue how the NetBSD
> > startup system works ?
>
> If you're making a package, put your script into $PREFIX/etc/rc.d.
> Also see /etc/rc.d for what comes in the NetBSD base system.
How is that script executed then ?
In SysV (like Solaris) and Linux the script is placed in /etc/init.d/
and then the script gets linked to the single runlevels dirs... how does
NetBSD do that ?
> > 2. How does NetBSD handle the distribution of env variables ? Xprint
> > needs the env variable XPSERVERLIST set that clients can locate the
> > server (or servers).
> > On Linux there are /etc/profile.d/xprint.sh (for sh/ksh/bash) and
> > /etc/profile.d/xprint.csh (for csh&co.) - but how does NetBSD handle
> > that case ?
>
> Hum, I'd install these as $PREFIX/share/examples/xprint/xprint.sh and
> .../xprint.csh for lack of a better directory.
That wouldn't help any users... the idea of these scripts is to
distribute the XPSERVERLIST env variable that the matching applications
can find the Xprint server(s) ...
> (There's /etc/skel, but I'm
> not sure what's the best way to put things there from a package... please
> ask on tech-pkg@netbsd.org!).
Is there a newsgroup for tech-pkg@netbsd.org or is that email-only ?
> > Can anyone investigate the issue and comment in
> > http://xprint.mozdev.org/bugs/show_bug.cgi?id=5038 , please ? Thanks! :)
>
> Hum, is that a recursive problem? :)
?!
---- Bye, Roland -- __ . . __ (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 2426 901568 FAX +49 2426 901569 (;O/ \/ \O;)
- Next message: Paul Schmehl: "Re: Which BSD?"
- Previous message: Ted Unangst: "Re: Which BSD?"
- In reply to: Hubert Feyrer: "Re: Xprint on NetBSD..."
- Next in thread: Frederick Bruckman: "Re: Xprint on NetBSD..."
- Reply: Frederick Bruckman: "Re: Xprint on NetBSD..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|