[Pkg-utopia-maintainers] Bug#593195: Bug#593195: udisks detect chrooted patch for debian package.

Julien Cristau jcristau at debian.org
Mon Aug 30 11:29:13 UTC 2010


On Mon, Aug 30, 2010 at 13:10:01 +0200, Michael Biebl wrote:

> if [ -f /var/run/dbus/system_bus_socket ] ; then
>   pid=$(dbus-send --system --dest=org.freedesktop.DBus --print-reply \
>    /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID \
>    string:'org.freedesktop.UDisks' 2>/dev/null | grep uint32 | awk '{print $2}')
> 
>   [ -n "$pid" ] && kill $pid / restart etc.
> fi
> 
make it | awk '/uint32/ { print $2 }' to avoid the grep ;)

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20100830/c1e00746/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list