* Install Xprint's Xsession script to $(sysconfdir)/X11/Xsession.d
* Removing outdated references to CDE and dt, rename script to
92xprint-xpserverlist.
(cherry picked from 8b4ed47c5d
commit)
This commit is contained in:
parent
0790665ff0
commit
27f0a0066f
30
hw/xprint/etc/Xsession.d/92xprint-xpserverlist
Normal file
30
hw/xprint/etc/Xsession.d/92xprint-xpserverlist
Normal file
|
@ -0,0 +1,30 @@
|
|||
#!/bin/sh
|
||||
#####################################################################
|
||||
### File: 92xprint-xpserverlist
|
||||
###
|
||||
### Default Location: /etc/X11/Xsession.d/
|
||||
###
|
||||
### Purpose: Setup Xprint env vars
|
||||
###
|
||||
### Description: This script is invoked by means of the Xsession file
|
||||
### at user login.
|
||||
###
|
||||
### Invoked by: /etc/X11/Xsession
|
||||
###
|
||||
### (c) Copyright 2003-2004 Roland Mainz <roland.mainz@nrubsig.org>
|
||||
###
|
||||
### please send bugfixes or comments to https://bugs.freedesktop.org
|
||||
###
|
||||
#####################################################################
|
||||
|
||||
|
||||
#
|
||||
# Obtain list of Xprint servers
|
||||
#
|
||||
|
||||
if [ -x "/etc/init.d/xprint" ] ; then
|
||||
XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist`"
|
||||
export XPSERVERLIST
|
||||
fi
|
||||
|
||||
########################## eof #####################
|
|
@ -1 +1,2 @@
|
|||
EXTRA_DIST = cde_xsessiond_xprint.sh
|
||||
xpcdir = $(sysconfdir)/X11/Xsession.d
|
||||
dist_xpc_DATA = 92xprint-xpserverlist
|
||||
|
|
Loading…
Reference in New Issue
Block a user