diff options
Diffstat (limited to 'helper/init.c')
-rw-r--r-- | helper/init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/helper/init.c b/helper/init.c index 275f4db..06a7aa7 100644 --- a/helper/init.c +++ b/helper/init.c @@ -64,6 +64,12 @@ main () exit (EXIT_FAILURE); } + /* A perennial problem is that /sbin/insmod.static is not + * executable. Just make it executable. It's easier than fixing + * everyone's distro. + */ + chmod ("/sbin/insmod.static", 0755); + FILE *fp = fopen ("/modules", "r"); if (fp == NULL) { perror ("fopen: /modules"); |