summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakdisk10
1 files changed, 10 insertions, 0 deletions
diff --git a/perl-install/standalone/drakdisk b/perl-install/standalone/drakdisk
new file mode 100755
index 000000000..a40edf5ed
--- /dev/null
+++ b/perl-install/standalone/drakdisk
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+CMD=/usr/libexec/diskdrake
+
+ps -C udisksd > /dev/null
+if [ $? -eq 0 -a -x /usr/lib/udisks2/udisks2-inhibit ] ; then
+ /usr/lib/udisks2/udisks2-inhibit $CMD "$@"
+else
+ $CMD "$@"
+fi