Added sourcing warning.
1 parent a9de385 commit adbcfe0cd1b81a77c930832ac76f801eec207d40
@toor toor authored on 27 Dec 2012
Showing 1 changed file
View
6
rootx
#!/bin/sh
# rootx - Configure X For root User After An su or sudo Promotion
# Copyright (c) 2012 TundraWare Inc., Des Plaines, IL USA
# All Rights Reserved
# $Id: rootx,v 1.102 2012/12/27 23:12:29 toor Exp $
# $Id: rootx,v 1.103 2012/12/27 23:14:20 toor Exp $
 
# Allow the DISPLAY variable to be overriden on the command line
 
if [ _$1 = _ ]
DISPLAY=$1
 
fi
 
cp -pv /home/tundra/.Xauthority /root/
echo "Make sure your sourced me!"
cp -p /home/tundra/.Xauthority /root/
export DISPLAY