rmmod -a removed modules recursively
This commit is contained in:
@@ -357,6 +357,8 @@ typedef struct {
|
||||
extern procps_status_t * procps_scan(int save_user_arg0);
|
||||
extern unsigned short compare_string_array(const char *string_array[], const char *key);
|
||||
|
||||
extern int my_query_module(const char *name, int which, void **buf, size_t *bufsize, size_t *ret);
|
||||
|
||||
typedef struct llist_s {
|
||||
char *data;
|
||||
struct llist_s *link;
|
||||
|
||||
@@ -1722,7 +1722,7 @@
|
||||
#define rmmod_full_usage \
|
||||
"Unloads the specified kernel modules from the kernel.\n\n" \
|
||||
"Options:\n" \
|
||||
"\t-a\tTry to remove all unused kernel modules."
|
||||
"\t-a\tRemove all unused modules (recursively)"
|
||||
#define rmmod_example_usage \
|
||||
"$ rmmod tulip\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user