aboutsummaryrefslogtreecommitdiffstats
path: root/bin/linuxconf_kdesu
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>1999-12-19 18:02:29 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>1999-12-19 18:02:29 +0000
commit27a46978e80995b757cdba0d068efb0a1cbfa39f (patch)
tree7a5812ba7e77779fd237e386c00532b0bbce931c /bin/linuxconf_kdesu
parent316a5ee8ecd0f7585bcf13ed642b14b3e2f9875f (diff)
downloadcommon-data-27a46978e80995b757cdba0d068efb0a1cbfa39f.tar
common-data-27a46978e80995b757cdba0d068efb0a1cbfa39f.tar.gz
common-data-27a46978e80995b757cdba0d068efb0a1cbfa39f.tar.bz2
common-data-27a46978e80995b757cdba0d068efb0a1cbfa39f.tar.xz
common-data-27a46978e80995b757cdba0d068efb0a1cbfa39f.zip
Initial revisionoxygentopic/mandrake
Diffstat (limited to 'bin/linuxconf_kdesu')
-rwxr-xr-xbin/linuxconf_kdesu6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/linuxconf_kdesu b/bin/linuxconf_kdesu
new file mode 100755
index 0000000..2b54d83
--- /dev/null
+++ b/bin/linuxconf_kdesu
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+ARG=$1
+[ -f ~/.Xauthority ] && mv -f ~/.Xauthority ~/.Xauthority.$$
+ln -sf $ARG/.Xauthority /root/ && linuxconf
+[ -f ~/.Xauthority.$$ ] && mv -f ~/.Xauthority.$$ ~/.Xauthority