linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcelo Ricardo Leitner <mrl@conectiva.com.br>
To: linux-hotplug@vger.kernel.org
Subject: Re: Run script when USB scanner unplugged
Date: Tue, 08 Jun 2004 00:30:38 +0000	[thread overview]
Message-ID: <20040608003038.GA14834@dhcp169.conectiva> (raw)
In-Reply-To: <40BE3850.8070106@comcast.net>

On Sáb Jun 05, 2004 at 11:01:23 -0500, Ian Pilcher wrote:
> All I want to do is run a script during the USB "remove" event to get
> rid of this symlink.  Reading through /etc/hotplug/usb.agent, it looks
> like I should be able to put a script in the location specified by the
> ${REMOVER} variable, but I've tried this and it never gets executed.
> 
> What do I need to do?
---end quoted text---

Take a look at Conectiva's hotplug and usb-mount packages. Hotplug got some
patches and usb-mount is responsible for creating .desktop files at
~consoleuser/Desktop to allow easy usb mass-storage integration.
It uses the ${REMOVER} for removing/unmounting when the device is gone.

-- 
Marcelo Ricardo Leitner <mrl@conectiva.com.br>


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

      parent reply	other threads:[~2004-06-08  0:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-02 20:28 Run script when USB scanner unplugged Ian Pilcher
2004-06-03  8:34 ` Harald Hoyer
2004-06-03 17:36 ` Ian Pilcher
2004-06-04 13:55 ` Ian Pilcher
2004-06-04 17:07 ` Bertrik Sikken
2004-06-04 21:13 ` Greg KH
2004-06-05 16:01 ` Ian Pilcher
2004-06-05 16:05 ` Greg KH
2004-06-05 17:35 ` Ian Pilcher
2004-06-05 17:36 ` Ian Pilcher
2004-06-05 18:26 ` Bertrik Sikken
2004-06-08  0:30 ` Marcelo Ricardo Leitner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040608003038.GA14834@dhcp169.conectiva \
    --to=mrl@conectiva.com.br \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).