12345678910111213141516171819202122232425262728293031 |
- #for slackware...
- DISABLE_POST_INSTALL_SCRIPT=yes
- #get rid of stuff we don't need...
- rm -rf etc
- rm -rf usr/share
- #probably need this for slackware...
- if [ -f bin/kmod ];then
- ln -snf kmod bin/lsmod
- ln -snf ../bin/kmod sbin/depmod
- ln -snf ../bin/kmod sbin/insmod
- ln -snf ../bin/kmod sbin/lsmod
- ln -snf ../bin/kmod sbin/modinfo
- ln -snf ../bin/kmod sbin/modprobe
- ln -snf ../bin/kmod sbin/rmmod
- else
- #20130707 01micko...
- if [ -f sbin/kmod ];then
- ln -snf ../sbin/kmod bin/lsmod
- ln -snf kmod sbin/lsmod
- ln -snf kmod sbin/depmod
- ln -snf kmod sbin/insmod
- ln -snf kmod sbin/modinfo
- ln -snf kmod sbin/modprobe
- ln -snf kmod sbin/rmmod
- fi
- fi
|