3
0
Fork 0
forked from mirrors/nixpkgs
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

4 lines
94 B
Plaintext

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