prplos/package/utils/busybox
Hannu Nyman 00e7a8935a 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
cherry picked from commit e23b37b2d9a2e766b1ad151f59a04eb68b6a3341)
[ fix conflict error ]
Signed-off-by: Andrey Zotikov <andrey.zotikov@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23634
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 26471f32b5b8a3f5d9ccd432083eaf42a0f04cef)
2026-08-18 11:40:42 +01:00
..
config busybox: update to 1.36.0 2023-01-07 17:22:54 +01:00
files busybox: Save shell history into /tmp 2026-08-18 11:40:42 +01:00
patches busybox: fix login applet on selinux 2025-07-27 19:42:04 +02:00
Config-defaults.in busybox: Save shell history into /tmp 2026-08-18 11:40:42 +01:00
Config.in
convert_defaults.pl
convert_menuconfig.pl
Makefile busybox: Save shell history into /tmp 2026-08-18 11:40:42 +01:00
selinux.config