KVER="$(get_kernel_version)" default_pre_build && cd ${SOURCE_DIRECTORY} && if [ -e "${INSTALL_ROOT}/etc/Wireless/RT2870STA/RT2870STA.dat" ]; then cp "${INSTALL_ROOT}/etc/Wireless/RT2870STA/RT2870STA.dat" \ ./ fi && sedit "s/\$(shell uname -r)/$KVER/g" Makefile && sedit "s/\$(shell uname -r)/$KVER/g" os/linux/Makefile* && sedit "s/\${shell uname -r}/$KVER/g" os/linux/Makefile.4 && sedit "s/\${shell uname -r}/$KVER/g" os/linux/Makefile.6 ^^ # this device works as well sedit '145a\ {USB_DEVICE(0x1737,0x0071)}, /* Linksys */ \\' include/rt2870.h