#!/bin/sh

. config/options

PKG_DIR=`find $PACKAGES -type d -name $1`

mkdir -p $INSTALL/sbin
  cp $PKG_BUILD/.build-target/modprobe $INSTALL/sbin
  cp $PKG_BUILD/.build-target/depmod $INSTALL/sbin

mkdir -p $INSTALL/etc/modprobe.d
  cp $PKG_DIR/config/* $INSTALL/etc/modprobe.d
