Results 1 to 4 of 4

Thread: Run script on USB Mount

  1. #1
    Funking Prink! Raz316's Avatar
    Join Date
    Jul 2003
    Location
    Deal, Kent, UK
    Posts
    2,978
    Thanks
    130
    Thanked
    62 times in 52 posts

    Run script on USB Mount

    Hellooooo,

    I would like our thin clients to automatically run a script when a USB device is plugged into them. (e.g. ftp all the files on the device to a server)

    When I plug in my pen drive it is automatically mounted, im wondering if its possible to latch onto whatever process that does this and make it run a script?

    The thin client has its own version of linux but is running a 2.4 kernel. Im thinking it could have something to do with the /etc/hotplug directory but Im not entirely sure.

    Any ideas?
    Thanks

  2. #2
    Funking Prink! Raz316's Avatar
    Join Date
    Jul 2003
    Location
    Deal, Kent, UK
    Posts
    2,978
    Thanks
    130
    Thanked
    62 times in 52 posts
    Ignore me, found

    I swear I work out half the things I post here a minute after Ive posted them!

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    1
    Thanks
    0
    Thanked
    0 times in 0 posts

    Question please post answer

    Could you please post what you found, i am trying to do something similar, and cant how to anywhere


    Thanx

  4. #4
    Funking Prink! Raz316's Avatar
    Join Date
    Jul 2003
    Location
    Deal, Kent, UK
    Posts
    2,978
    Thanks
    130
    Thanked
    62 times in 52 posts
    hey, i cant remember it exactly but I added something to the automount script

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 14
    Last Post: 26-05-2004, 07:26 PM
  2. USB & Sparkle Motherboard Problem
    By Matthew in forum PC Hardware and Components
    Replies: 6
    Last Post: 09-05-2004, 08:44 AM
  3. Weird Problems - Please Help!!
    By chez in forum PC Hardware and Components
    Replies: 4
    Last Post: 20-09-2003, 06:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •