4 |
- |
1 |
#!/bin/sh
|
|
|
2 |
# Copyright (C) 1999 - 2004 Red Hat, Inc. All rights reserved. This
|
|
|
3 |
# copyrighted material is made available to anyone wishing to use, modify,
|
|
|
4 |
# copy, or redistribute it subject to the terms and conditions of the
|
|
|
5 |
# GNU General Public License version 2.
|
|
|
6 |
#
|
|
|
7 |
# You should have received a copy of the GNU General Public License
|
|
|
8 |
# along with this program; if not, write to the Free Software
|
|
|
9 |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
10 |
|
|
|
11 |
sysresources=/etc/X11/Xresources
|
|
|
12 |
|
|
|
13 |
# merge in defaults
|
|
|
14 |
if [ -f "$sysresources" ]; then
|
|
|
15 |
xrdb -merge "$sysresources"
|
|
|
16 |
fi
|
|
|
17 |
|
|
|
18 |
#/usr/X11R6/bin/xsetroot -solid "#222E45"
|
|
|
19 |
|
|
|
20 |
if [ -z "$RUNNING_UNDER_GDM" ] ; then
|
|
|
21 |
/sbin/pidof -s kdm &> /dev/null && [ $? -eq 0 -a -x /usr/bin/kdmdesktop ] && /usr/bin/kdmdesktop && sleep 1s
|
|
|
22 |
|
|
|
23 |
# only set the background if the xsri program is installed
|
|
|
24 |
# if [ -x /usr/bin/xsri -a -r /etc/X11/xsrirc ]; then
|
|
|
25 |
# /usr/bin/xsri --redhat-login --set
|
|
|
26 |
# fi
|
|
|
27 |
fi
|