diff options
author | Erik Andersen | 2000-03-04 22:23:27 +0000 |
---|---|---|
committer | Erik Andersen | 2000-03-04 22:23:27 +0000 |
commit | 6437170cb31302d8525cd6fcbe0a2efad386ab9d (patch) | |
tree | 9c703636fa112255e7e73db890657d3598b17f02 /applets | |
parent | 029011b9eeaf491d00fda1d072c4c6094df96c3a (diff) | |
download | busybox-6437170cb31302d8525cd6fcbe0a2efad386ab9d.zip busybox-6437170cb31302d8525cd6fcbe0a2efad386ab9d.tar.gz |
Add in freeramdisk.c, which (duh) frees ramdisks. If you have any
ramdisks lying about and want to free up the memory they have used,
this baby is the answar you have been waiting for.
-Erik
Diffstat (limited to 'applets')
-rw-r--r-- | applets/busybox.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index a80a567..ccf80a7 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -97,6 +97,9 @@ static const struct Applet applets[] = { #ifdef BB_FREE //usr/bin {"free", free_main}, #endif +#ifdef BB_FREERAMDISK //sbin + {"freeramdisk", freeramdisk_main}, +#endif #ifdef BB_DEALLOCVT //usr/bin {"deallocvt", deallocvt_main}, #endif |