1
0
Fork 0
forked from mirror/openwrt
openwrt/package
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
..
base-files fstools: update to latest HEAD 2024-12-02 14:43:09 +01:00
boot qualcommax: ipq60xx: add Linksys MR7350 support 2024-12-07 16:00:58 +01:00
devel perf: fix version for APK 2024-11-12 17:55:16 +01:00
firmware qualcommax: ipq60xx: add Linksys MR7350 support 2024-12-07 16:00:58 +01:00
kernel wifi-scripts: add ucode based iwinfo 2024-12-02 13:55:36 +01:00
libs gmp: use same source tarball for tools/gmp and package/libs/gmp 2024-11-28 15:53:32 +00:00
network wifi-scripts: fix channels array property parsing in ucode script 2024-12-08 15:11:28 +01:00
system apk: add dependency on wget provider 2024-12-05 22:03:53 +01:00
utils busybox: Save shell history into /tmp 2024-12-08 19:18:02 +01:00
Makefile build: fix filtering of non-upgradable packages 2024-11-21 17:55:45 +01:00