[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] devkit-disks has been replaced with udisks



Call the right tool to inhibit.
---
 liveinst/liveinst |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/liveinst/liveinst b/liveinst/liveinst
index faef488..e3ec201 100755
--- a/liveinst/liveinst
+++ b/liveinst/liveinst
@@ -56,7 +56,7 @@ if [ ! -e /selinux/load ]; then
     ANACONDA="$ANACONDA --noselinux"
 fi
 
-# devkit-disks is now mounting lots of stuff.  for now, let's just try to unmount it all
+# udisks is now mounting lots of stuff.  for now, let's just try to unmount it all
 umount /media/*
 tac /proc/mounts | grep ^/dev | grep -v live | while read dev mntpoint rest; do
     if [ -b $dev ]; then
@@ -80,8 +80,8 @@ for i in /dev/md*; do
     esac
 done
 
-if [ -x /usr/bin/devkit-disks ]; then
-    /usr/bin/devkit-disks --inhibit -- /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*"
+if [ -x /usr/bin/udisks ]; then
+    /usr/bin/udisks --inhibit -- /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*"
 elif [ -x /usr/bin/hal-lock -a -e /var/lock/subsys/haldaemon ]; then
     /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*"
 else
-- 
1.7.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]