Re: Installing kernel 2.6.4 0n (not over) 2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


I was thinking something like the below. I don't do many scripts, so I probably am off track somewhere. Putting it in /etc/rc.d/rc.local sounds like a good location for the script to be launched from. /usr/bin for the script itself. XF86Config should have the reference to the "/dev/mouse" symlink to be changed.

KERNEL=`uname -r | cut -d . -f3`
if $KERNEL = 4 ;then
	ln /dev/mouse /dev/psaux
         else
	ln /dev/mouse /dev/input/mice
fi


I think that this would allow you to boot either the 2.4 or the 2.6 and have a mouse when launching X.

Jim




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux