version=$(uname -r | cut -d . -f 1,2) # 2.4 or 2.6
It should read:
version=$(uname -r | cut -d - -f 1,2) # 2.4 or 2.6.8-2
Just setting the version to 2.4 or 2.6 does not match the available kernel-image names. Those names look like 2.6.8-2-686 or 2.6.8-10-em64t. The "." in the "cut" command needs to be a "-".
Making this change will allow the proper kernel to be selected.
- Chad
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]