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