Re: Xprint on NetBSD...

From: Roland Mainz (roland.mainz_at_informatik.med.uni-giessen.de)
Date: 11/27/03


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;)


Relevant Pages

  • Re: Will Linux become as vulnerable as MS ??
    ... > beeing vulnerable to viruses. ... > that they know are executable, and execute intentionally. ... >> Linux, each distro is a little different, and even within the distro, ... > Since clicking on a script is easier than typing it's name, ...
    (comp.os.linux.security)
  • wonk mode
    ... workable Linux system for my home computer, ... MEPIS release (replacing a much older "Fedora" ... Red Hat Package Monitor formatted software archives ... This little dandy script, line wrapped ...
    (comp.os.linux.misc)
  • Re: Compiling gnuplot with libgd
    ... of running this script. ... installing the gnuplot graphing program ... By building a package for damn small linux I can have it automatically ... install gnuplot and run my required script without having to customize ...
    (comp.graphics.apps.gnuplot)
  • Re: Setting Up NTP for Time Sync
    ... prg wrote: ... >>I've made no changes to the script file that I know of. ... > packet filter facilities included with Linux. ... > This should set up your Linux box for ntp. ...
    (comp.os.linux.networking)
  • Re: Does Suse Suck?
    ... a desktop environment, but turn off all the eye-candy. ... recently switched all my KDE desktops to the KDE classic theme, ... That is also the reason why initialy Linux did not run on 286 machines ... What I would suspect or at leasst try to achive is to write a script ...
    (alt.os.linux.suse)