summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakdisk
blob: a40edf5edd427ebd4367e0f864f4d0c94e4474ed (plain)
1
2
3
4
5
6
7
8
9
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