#!/bin/sh CMD=/usr/sbin/draklive-install /usr/bin/udisks --inhibit -- $CMD # run without udisks lock if it fails [ "$?" != 0 ] && $CMD