summarylogtreecommitdiffstats
path: root/unetbootin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'unetbootin.sh')
-rw-r--r--unetbootin.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/unetbootin.sh b/unetbootin.sh
new file mode 100644
index 000000000000..4e85a7769f7b
--- /dev/null
+++ b/unetbootin.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+export QT_X11_NO_MITSHM=1
+
+if [ $(command -v pkexec) ]; then
+ pkexec --disable-internal-agent '/usr/bin/unetbootin.elf' "$@"
+else
+ '/usr/bin/unetbootin.elf' "$@"
+fi