aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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