nixpkgs/system/modprobe
Eelco Dolstra 119df37858 * Generate a wrapper around modprobe that sets MODULE_DIR. This is
important for /proc/sys/kernel/modprobe, i.e., modprobing by the
  kernel.

svn path=/nixos/trunk/; revision=8164
2007-03-04 01:16:24 +00:00

3 lines
94 B
Text

#! @shell@
export MODULE_DIR=@kernel@/lib/modules
exec @module_init_tools@/sbin/modprobe "$@"