From 64cbc2c3974b233d01a9743a142a72477b9a69fd Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 2 Jun 2008 17:12:29 +0000 Subject: use wrapper to lock media managers during live install (not to get popups/automounts about new partitions) --- draklive-install-lock-storage | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 draklive-install-lock-storage (limited to 'draklive-install-lock-storage') diff --git a/draklive-install-lock-storage b/draklive-install-lock-storage new file mode 100755 index 0000000..e003053 --- /dev/null +++ b/draklive-install-lock-storage @@ -0,0 +1,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 + -- cgit v1.2.1