Blame SOURCES/localuser.sh

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