summaryrefslogtreecommitdiffstats
path: root/draklive-install-lock-storage
blob: e003053ff83d04914de4e6af6a67796e9e3bb11a (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

CMD=/usr/sbin/draklive-install

hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run $CMD
# run without hal lock if it fails
[ "$?" != 0 ] && $CMD