patch-2.1.109 linux/kernel/kmod.c
Next file: linux/kernel/printk.c
Previous file: linux/kernel/fork.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jul 14 10:24:37 1998
- Orig file:
v2.1.108/linux/kernel/kmod.c
- Orig date:
Wed Jun 24 22:54:12 1998
diff -u --recursive --new-file v2.1.108/linux/kernel/kmod.c linux/kernel/kmod.c
@@ -21,7 +21,7 @@
modprobe_path is set via /proc/sys.
*/
char modprobe_path[256] = "/sbin/modprobe";
-static char * envp[] = { "HOME=/", "TERM=linux", "PATH=/usr/bin:/bin", NULL };
+static char * envp[] = { "HOME=/", "TERM=linux", "PATH=/sbin:/usr/sbin:/bin:/usr/bin", NULL };
/*
exec_modprobe is spawned from a kernel-mode user process,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov