jludwig wrote:
If you set up a script witn something like;
KERNEL=`uname -a | cut -d . -f3`
if $KERNEL = 4 ;then
mouse= # your code
else
mouse= # your code
fi
you will automate the process. Where to put this I haven't determined.
Uh, don't you mean:
KERNEL=`uname -r | cut -d . -f2`
"uname -a" will give you the node name, too, which may contain one or
more "."s. "uname -r" only gives you the kernel version.
As to where to put it, the most common place for localizations is in
/etc/rc.d/rc.local, wouldn't it?
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- On a scale of 1 to 10 I'd say... oh, somewhere in there. -
----------------------------------------------------------------------