diff options
author | Denys Vlasenko | 2016-11-14 17:30:50 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-11-14 17:30:50 +0100 |
commit | f417ffd88f194bbfd18605882ee242190c1bab34 (patch) | |
tree | 42d49dd65f7722e2c5322cd829acdf829c147655 /include/applets.src.h | |
parent | 1924e99ad3513990f317c4295c35d5861521555a (diff) | |
download | busybox-f417ffd88f194bbfd18605882ee242190c1bab34.zip busybox-f417ffd88f194bbfd18605882ee242190c1bab34.tar.gz |
Make swapon and swapoff individually selectable.
For example, without swapoff, code shrinks by 277 bytes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/applets.src.h')
-rw-r--r-- | include/applets.src.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/applets.src.h b/include/applets.src.h index dbc4595..f2c754b 100644 --- a/include/applets.src.h +++ b/include/applets.src.h @@ -287,8 +287,6 @@ IF_STAT(APPLET(stat, BB_DIR_BIN, BB_SUID_DROP)) IF_STRINGS(APPLET(strings, BB_DIR_USR_BIN, BB_SUID_DROP)) IF_STTY(APPLET(stty, BB_DIR_BIN, BB_SUID_DROP)) IF_SUM(APPLET(sum, BB_DIR_USR_BIN, BB_SUID_DROP)) -IF_SWAPONOFF(APPLET_ODDNAME(swapoff, swap_on_off, BB_DIR_SBIN, BB_SUID_DROP, swapoff)) -IF_SWAPONOFF(APPLET_ODDNAME(swapon, swap_on_off, BB_DIR_SBIN, BB_SUID_DROP, swapon)) IF_SWITCH_ROOT(APPLET(switch_root, BB_DIR_SBIN, BB_SUID_DROP)) IF_BB_SYSCTL(APPLET(sysctl, BB_DIR_SBIN, BB_SUID_DROP)) IF_TAC(APPLET_NOEXEC(tac, tac, BB_DIR_USR_BIN, BB_SUID_DROP, tac)) |