1. The script complains when it checks for /etc/osso_software_version because I don't have such a directory. I don't know why I don't have one.
2. Adding the ["$OSVER" = "DIABLO"] && OSVER=2008SE line doesn't help. I modified the script to echo $OSVER after that line and it returns blank. The script exits without error, but bluetooth does not come on and detect the keyboard.