FIXUPHACK 336 B

123456789
  1. if [ ! -e sbin/loadndisdriver ];then
  2. UPKGVERSION="`ls -1 sbin/ | grep 'loadndisdriver-' | head -n 1 | cut -f 2 -d '-'`"
  3. ln -s loadndisdriver-${UPKGVERSION} sbin/loadndisdriver
  4. fi
  5. [ ! -e usr/sbin/ndiswrapper ] && ln -s ndiswrapper-${UPKGVERSION} usr/sbin/ndiswrapper
  6. #note 9nov2009, T2, ndiswrapper compile failed, so using pet pkg.