View Single Post
Posts: 72 | Thanked: 8 times | Joined on Oct 2006
#33
Originally Posted by Frank Banul View Post
[..]
If you want to make this permanent, you can create a script to do this on boot.

/etc/init.d/wlan-fix contains
#! /bin/sh
#

if [ -x /usr/local/bin/cx3110x-on-stack.ko ]
then
rmmod cx3110x
insmod /usr/local/bin/cx3110x-on-stack.ko
chroot /mnt/initfs wlan-cal
fi



Then create a link in /etc/rc2.d/S80wlanfix to /etc/init.d/wlan-fix

In /etc/rc2.d/ ln -s S80wlanfix ../init.d/wlan-fix

Hope this helps.

Frank
When trying to create the link, the terminal responds with a 'File exists' error message.
For this as root I went to /etc/rc2.d , then entered 'ln - s S80wlanfix ../init.d/wlan-fix' .

The result: No link will be created.

The script wlan-fix itself, which I created in /etc/init.d/ , works fine when called manually on the cmd line.

What went wrong?


Thanks

Ray