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
..
2024-10-29 00:07:54 +01:00
2024-10-03 17:27:50 +02:00
2023-10-09 23:42:37 +02:00
2023-05-18 10:14:13 +02:00
2024-11-17 12:30:16 +01:00
2024-09-19 13:31:32 +02:00
2024-06-28 11:25:58 +02:00
2024-02-17 01:55:21 +01:00
2024-02-17 01:55:49 +01:00
2024-11-11 21:20:01 +01:00
2024-05-23 22:49:25 +02:00
2024-07-27 18:59:42 +02:00