using exec in a script; was "preloading a driver for an autostarted application in LXDE"
- From: peasthope@xxxxxxx
- Date: Thu, 10 Mar 2011 09:08:30 -0800
From: Liam O'Toole <liam.p.otoole@xxxxxxxxx>
Date: Wed, 09 Mar 2011 21:32:34 +0000 (UTC)
... script to be placed somewhere in the user's path
such that it won't get clobbered by an official Debian package.
/usr/local/bin is the place to be.
Right oh; this trivial script works.
peter@dalton:~$ ls -l /usr/local/bin/skype
-rwxr-xr-x 1 root staff 67 Mar 9 18:26 /usr/local/bin/skype
peter@dalton:~$ cat /usr/local/bin/skype
#!/bin/sh
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype
I didn't succeed in using "exec ..." and the script process
continues along with skype. Is there a way to preload the
module, start skype, terminate the script and leave skype
running?
Thanks, ... Peter E.
--
Telephone 1 360 450 2132.
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/171056938.37406.33133@xxxxxxxxxxxxxx
- Follow-Ups:
- References:
- Re: Re (2): preloading a driver for an autostarted application in LXDE
- From: Liam O'Toole
- Re: Re (2): preloading a driver for an autostarted application in LXDE
- Prev by Date: squeeze on 2TB drive
- Next by Date: Re: What is the most secure FTP server?
- Previous by thread: Re: Re (2): preloading a driver for an autostarted application in LXDE
- Next by thread: Re: using exec in a script; was "preloading a driver for an autostarted application in LXDE"
- Index(es):
Relevant Pages
|