You have to execute those commands in the shell in which you want it to happen.  So if you put it in an executable file which will use the shell as an interpreter, then what's going to happen if you execute that file, is that the shell in which you issue the command will fork a subshell, in which the settings will get set, and than that shell will exit, leaving the vars unset (or unchanged) in the original parent shell.  Instead, you need to use the sh . or source command to run the script *in the parent shell*.  "." or "source" will basically run the file as though you'd typed its contents.

C

On Jun 21, 2006, at 3:18 PM, Demetris Zavorotnichenko wrote:

if i want NOT to enter each time these commands how do i load them automaticly?
 
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/lib
export TSLIB_CONSOLEDEVICE=/dev/tty
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/input/event0
 
i tried to enter them into a shell script but they don't work.
 
 
 
 
Demetris Z.
 
 
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users