1 2 3 4 5 6 7
#!/bin/sh CMD=/usr/sbin/draklive-install /usr/bin/udisks --inhibit -- $CMD # run without udisks lock if it fails [ "$?" != 0 ] && $CMD