aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorpapoteur-mga <yves.brungard_git@gadz.org>2013-12-22 19:09:12 +0100
committerpapoteur-mga <yves.brungard_git@gadz.org>2013-12-22 19:09:12 +0100
commit6e5765205a96d00786be9e3506d411edbec9e22e (patch)
tree6bd78840c8f24fca6ed9d5592848b4e111640960 /bin
parent264a1ee551c49d11bcf61ed7067d3b6c78d6bc1f (diff)
downloadisodumper-6e5765205a96d00786be9e3506d411edbec9e22e.tar
isodumper-6e5765205a96d00786be9e3506d411edbec9e22e.tar.gz
isodumper-6e5765205a96d00786be9e3506d411edbec9e22e.tar.bz2
isodumper-6e5765205a96d00786be9e3506d411edbec9e22e.tar.xz
isodumper-6e5765205a96d00786be9e3506d411edbec9e22e.zip
Modifications to have authentication with polkit
- new bin/isodumper - new polkit policy file
Diffstat (limited to 'bin')
-rw-r--r--bin/isodumper6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/isodumper b/bin/isodumper
new file mode 100644
index 0000000..be2c8a3
--- /dev/null
+++ b/bin/isodumper
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [[ "$EUID" != "0" ]] ; then
+ exec /usr/bin/pkexec /usr/libexec/isodumper "$@"
+else
+ exec /usr/libexec/isodumper "$@"
+fi