Blame SOURCES/localuser.sh
|
|
e61737 |
#!/bin/sh
|
|
|
e61737 |
# Copyright (C) 2006 Red Hat, Inc. All rights reserved. This
|
|
|
e61737 |
# copyrighted material is made available to anyone wishing to use, modify,
|
|
|
e61737 |
# copy, or redistribute it subject to the terms and conditions of the
|
|
|
e61737 |
# GNU General Public License version 2.
|
|
|
e61737 |
#
|
|
|
e61737 |
# You should have received a copy of the GNU General Public License
|
|
|
e61737 |
# along with this program; if not, write to the Free Software
|
|
|
e61737 |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
e61737 |
#
|
|
|
e61737 |
[ -x /usr/bin/xhost ] && [ -x /usr/bin/id ] &&
|
|
|
e61737 |
xhost +si:localuser:`id -un` >& /dev/null
|