openwrt/package/utils/busybox/files
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
..
busybox-history-file.sh busybox: Save shell history into /tmp 2024-12-08 19:18:02 +01:00
cron busybox: Fix cron log level to match previous behavior 2024-12-05 21:16:55 +01:00
ntpd_acl.json busybox: sysntpd: make use of new ubus hotplug.ntp object 2021-02-08 00:57:14 +00:00
ntpd-hotplug busybox: sysntpd: make use of new ubus hotplug.ntp object 2021-02-08 00:57:14 +00:00
ntpd.capabilities
sysntpd busybox: sysntpd: add trigger to reload server 2021-06-27 23:54:06 +02:00