Files
openwrt/package/utils
Hannu Nyman 26471f32b5 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 e23b37b2d9)
[ 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>
2026-07-21 02:47:47 +02:00
..
2024-10-29 00:07:54 +01:00
2024-10-03 17:27:50 +02:00
2024-11-24 22:46:21 +01:00
2024-09-19 13:31:32 +02:00
2024-06-28 11:25:58 +02:00
…
2024-11-28 18:46:51 +00:00
2024-05-23 22:49:25 +02:00
2024-07-27 18:59:42 +02:00
2024-12-26 14:09:55 +01:00