diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-03-04 22:23:27 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-03-04 22:23:27 +0000 |
commit | af566fe37fcd0c762da83590a354b2a597863766 (patch) | |
tree | 9c703636fa112255e7e73db890657d3598b17f02 /applets | |
parent | f042f3c095e99887a076427cc04de54f90fe2c29 (diff) | |
download | busybox-w32-af566fe37fcd0c762da83590a354b2a597863766.tar.gz busybox-w32-af566fe37fcd0c762da83590a354b2a597863766.tar.bz2 busybox-w32-af566fe37fcd0c762da83590a354b2a597863766.zip |
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
git-svn-id: svn://busybox.net/trunk/busybox@387 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 a80a5678f..ccf80a75e 100644 --- a/applets/busybox.c +++ b/applets/busybox.c | |||
@@ -97,6 +97,9 @@ static const struct Applet applets[] = { | |||
97 | #ifdef BB_FREE //usr/bin | 97 | #ifdef BB_FREE //usr/bin |
98 | {"free", free_main}, | 98 | {"free", free_main}, |
99 | #endif | 99 | #endif |
100 | #ifdef BB_FREERAMDISK //sbin | ||
101 | {"freeramdisk", freeramdisk_main}, | ||
102 | #endif | ||
100 | #ifdef BB_DEALLOCVT //usr/bin | 103 | #ifdef BB_DEALLOCVT //usr/bin |
101 | {"deallocvt", deallocvt_main}, | 104 | {"deallocvt", deallocvt_main}, |
102 | #endif | 105 | #endif |