diff options
author | Ron Yorston <rmy@pobox.com> | 2023-03-19 10:26:24 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-03-19 10:26:24 +0000 |
commit | d9e8bb61cf380264511a4524281af2ca57498bce (patch) | |
tree | aa4b3f77fb99554eae734f4e3f97d93a409874b5 /configs | |
parent | b0e7a401d51402c052563f55331c8b9001a1215c (diff) | |
download | busybox-w32-d9e8bb61cf380264511a4524281af2ca57498bce.tar.gz busybox-w32-d9e8bb61cf380264511a4524281af2ca57498bce.tar.bz2 busybox-w32-d9e8bb61cf380264511a4524281af2ca57498bce.zip |
drop: add cdrop and pdrop aliases
Add cdrop and pdrop applets as aliases for drop. If a command
isn't specified these use cmd.exe and PowerShell instead of the
BusyBox shell.
This makes it possible to choose the default shell used for SSH
connections even in older versions of OpenSSH that don't support
the DefaultShellArguments registry key.
Note that to get cmd.exe to run a command rather than an interactive
shell it's necessary to set the DefaultShellCommandOption registry
key to '/c'.
Costs 248-272 bytes.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/mingw32_defconfig | 2 | ||||
-rw-r--r-- | configs/mingw64_defconfig | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/configs/mingw32_defconfig b/configs/mingw32_defconfig index 31f72a450..4918b2f4f 100644 --- a/configs/mingw32_defconfig +++ b/configs/mingw32_defconfig | |||
@@ -708,6 +708,8 @@ CONFIG_XXD=y | |||
708 | CONFIG_REV=y | 708 | CONFIG_REV=y |
709 | # CONFIG_RTCWAKE is not set | 709 | # CONFIG_RTCWAKE is not set |
710 | CONFIG_DROP=y | 710 | CONFIG_DROP=y |
711 | CONFIG_CDROP=y | ||
712 | CONFIG_PDROP=y | ||
711 | # CONFIG_SCRIPT is not set | 713 | # CONFIG_SCRIPT is not set |
712 | # CONFIG_SCRIPTREPLAY is not set | 714 | # CONFIG_SCRIPTREPLAY is not set |
713 | # CONFIG_SETARCH is not set | 715 | # CONFIG_SETARCH is not set |
diff --git a/configs/mingw64_defconfig b/configs/mingw64_defconfig index b5b02ba63..96e407644 100644 --- a/configs/mingw64_defconfig +++ b/configs/mingw64_defconfig | |||
@@ -708,6 +708,8 @@ CONFIG_XXD=y | |||
708 | CONFIG_REV=y | 708 | CONFIG_REV=y |
709 | # CONFIG_RTCWAKE is not set | 709 | # CONFIG_RTCWAKE is not set |
710 | CONFIG_DROP=y | 710 | CONFIG_DROP=y |
711 | CONFIG_CDROP=y | ||
712 | CONFIG_PDROP=y | ||
711 | # CONFIG_SCRIPT is not set | 713 | # CONFIG_SCRIPT is not set |
712 | # CONFIG_SCRIPTREPLAY is not set | 714 | # CONFIG_SCRIPTREPLAY is not set |
713 | # CONFIG_SETARCH is not set | 715 | # CONFIG_SETARCH is not set |