From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sat, 26 Feb 2005 00:30:06 +0000 Subject: Re: bash script not working from /etc/dev.d/foo/foo.dev Message-Id: <1109377806.7242.151.camel@localhost.localdomain> List-Id: References: <1109368267.31191.7.camel@X40.blinkeye.ch> In-Reply-To: <1109368267.31191.7.camel@X40.blinkeye.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, 2005-02-25 at 22:51 +0100, BlinkEye wrote: >hello, > >i think i found a bug. i've written a bash script which should be >executed upton plugin in my digital camera on a usb port. the thing is >that it simply DOESN'T work CORRECTLY if it is automatically executed >from /etc/dev.d/foo/foo.dev upon plugin in my device. it WORKS if i >execute the script directly. the strange thing is that it IS being >executed, but not the hole script. >first i thought i couldn't use functions in /etc/dev.d/foo but it didn't >change a thing. >is there a limit of instructions? i tried to just add a line which >executes the script on another location, still no go. > >ANY ideas? Yeah, read the udev man page. :) And place your script in /etc/dev.d/default/ Kay ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ 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