Subject: Re: /etc/rc.d/xdm hardcodes /usr/X11R6, i.e. conflicts with modular-x11
To: Erik Bertelsen <bertelsen.erik@gmail.com>
From: Luke Mewburn <lukem@NetBSD.org>
List: current-users
Date: 08/29/2007 12:50:38
--fNagykWcDoSVAmSd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, Aug 25, 2007 at 07:33:04PM +0200, Erik Bertelsen wrote:
  | It seems that /etc/rc.d/xdm as installed from
  | ...src/NetBSD/src/etc/rc.d hardcodes
  | the command to execute to be /usr/X11R6/bin/${name} and required_files
  | to /etc/X11/xdm/xdm-config.
  | This is on NetBSD-current and may also apply to NetBSD 4.


Have you tried using the existing rc.conf(5) framework
to override the 'command' variable in /etc/rc.d/xdm ?

	echo 'command=/new/path/to/xdm' >> /etc/rc.conf.d/xdm

cheers,
Luke.

--fNagykWcDoSVAmSd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD4DBQFG1N7+pBhtmn8zJHIRAkcjAJi9Ca8JUXRK6q54tUWkGOecz7zNAJwPSwhe
tRWZHR6FeFkKPzZ7IBUzIQ==
=bUFz
-----END PGP SIGNATURE-----

--fNagykWcDoSVAmSd--