~fourmond/pmount/pmount-new

« back to all changes in this revision

Viewing changes to tests/hal-umount-shell

  • Committer: martin at piware
  • Date: 2007-01-11 15:30:39 UTC
  • Revision ID: martin@piware.de-20070111153039-6stkvny0z9n57zrq
fix dbus connection: we cannot close a shared connection

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
# Simply asks hal to unmount the device on the command-line
4
 
#
5
 
# Coming from http://lists.freedesktop.org/archives/hal/2005-December/004077.html
6
 
 
7
 
dbus-send --system --print-reply --dest=org.freedesktop.Hal \
8
 
    $1 org.freedesktop.Hal.Device.Volume.Unmount 
9
 
 
10
 
# This method does not work as now umount takes an array of strings as
11
 
# argument and dbus-send apparently cannot send arrays.
 
 
b'\\ No newline at end of file'