openwrt/package/utils/busybox
Hannu Nyman e23b37b2d9 busybox: Save shell history into /tmp
Enable the busybox feature to save shell command history.
(.apk size increase 0.5 kB)

To prevent flash wear,
* save history only at the exit from a shell session, and
* set /tmp as the default location for the history file. The history
  is kept on ramdisk until a reboot, when the history is then lost.

If the user wants to save history onto flash, he can change the location
definition in /etc/profile.d/busybox-history-file.sh

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/17179
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-12-08 19:18:02 +01:00
..
config busybox: update to 1.37.0 2024-12-05 21:16:55 +01:00
files busybox: Save shell history into /tmp 2024-12-08 19:18:02 +01:00
patches busybox: update to 1.37.0 2024-12-05 21:16:55 +01:00
Config-defaults.in busybox: Save shell history into /tmp 2024-12-08 19:18:02 +01:00
Config.in busybox: add selinux variant 2020-08-23 23:37:08 +01:00
convert_defaults.pl busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated 2014-01-31 13:50:16 +00:00
convert_menuconfig.pl busybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files 2016-01-03 11:38:31 +00:00
Makefile busybox: Save shell history into /tmp 2024-12-08 19:18:02 +01:00
selinux.config busybox: add selinux variant 2020-08-23 23:37:08 +01:00