FIXUPHACK 657 B

12345678910111213141516171819202122232425262728293031
  1. #for slackware...
  2. DISABLE_POST_INSTALL_SCRIPT=yes
  3. #get rid of stuff we don't need...
  4. rm -rf etc
  5. rm -rf usr/share
  6. #probably need this for slackware...
  7. if [ -f bin/kmod ];then
  8. ln -snf kmod bin/lsmod
  9. ln -snf ../bin/kmod sbin/depmod
  10. ln -snf ../bin/kmod sbin/insmod
  11. ln -snf ../bin/kmod sbin/lsmod
  12. ln -snf ../bin/kmod sbin/modinfo
  13. ln -snf ../bin/kmod sbin/modprobe
  14. ln -snf ../bin/kmod sbin/rmmod
  15. else
  16. #20130707 01micko...
  17. if [ -f sbin/kmod ];then
  18. ln -snf ../sbin/kmod bin/lsmod
  19. ln -snf kmod sbin/lsmod
  20. ln -snf kmod sbin/depmod
  21. ln -snf kmod sbin/insmod
  22. ln -snf kmod sbin/modinfo
  23. ln -snf kmod sbin/modprobe
  24. ln -snf kmod sbin/rmmod
  25. fi
  26. fi