aboutsummaryrefslogtreecommitdiffstats
path: root/bin/linuxconf_kdesu
blob: 2b54d8357f1b45b761e53235f5edd150cc09b4e3 (plain)
1
2
3
4
5
6
#! /bin/sh 

ARG=$1
[ -f ~/.Xauthority ] &&  mv -f ~/.Xauthority ~/.Xauthority.$$ 
ln -sf $ARG/.Xauthority /root/ && linuxconf
[ -f ~/.Xauthority.$$ ] && mv -f ~/.Xauthority.$$ ~/.Xauthority