aboutsummaryrefslogtreecommitdiff
path: root/skype
diff options
context:
space:
mode:
Diffstat (limited to 'skype')
-rwxr-xr-xskype14
1 files changed, 14 insertions, 0 deletions
diff --git a/skype b/skype
new file mode 100755
index 0000000..7a7d045
--- /dev/null
+++ b/skype
@@ -0,0 +1,14 @@
+#!/bin/bash
+#
+# Chroot wrapper
+#
+
+# Load configuration
+if [ -e "$HOME/.config/scripts/chroot" ]; then
+ source $HOME/.config/scripts/chroot
+fi
+
+xhost local:$CHROOT_USER
+sudo su $CHROOT_USER -c "schroot -d /home/$CHROOT_USER -c squeeze -p skype" &
+sleep 1
+xhost -