aboutsummaryrefslogtreecommitdiff
path: root/networking/ftpgetput.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-10-22 09:12:07 +0100
committerRon Yorston <rmy@pobox.com>2018-10-22 09:20:19 +0100
commit3994d5a52b8fa70637bffe4173f165267e6169fb (patch)
tree33268801c1adaa10797e6bee98ef737293fe6711 /networking/ftpgetput.c
parenteee3722fd32c8c0929cfbacdbe0b6524e1fd645c (diff)
downloadbusybox-w32-3994d5a52b8fa70637bffe4173f165267e6169fb.tar.gz
busybox-w32-3994d5a52b8fa70637bffe4173f165267e6169fb.tar.bz2
busybox-w32-3994d5a52b8fa70637bffe4173f165267e6169fb.zip
Allow shell scripts to be embedded in the binary
To assist in the deployment of shell scripts it may be convenient to embed them in the BusyBox binary. This patch adds two configuration options to the shell: - 'Embed scripts in the binary' takes any files in the directory 'embed', concatenates them with null separators, compresses them and embeds them in the binary. - 'Allow the contents of embedded scripts to be listed' makes the shell argument '-L name' list the contents of the named script. Both options are off by default. When scripts are embedded in the binary: - The shell argument '-L' lists the names of the scripts. - Scripts can be run as 'sh name arg...'. - An alias is added for each script, equivalent to "alias name='sh name'".
Diffstat (limited to 'networking/ftpgetput.c')
0 files changed, 0 insertions, 0 deletions