aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2019-02-25 15:05:07 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2021-08-22 18:07:51 +0300
commit57807f50ded6cf0996284a850084183af13d5894 (patch)
treeb2557f17d5d090af7eea53c72e21a30593f0f08b /target/linux/ath79/generic
parent31d984a96ee5227d4aa37ac2ff8a2d53fcecc412 (diff)
downloadupstream-57807f50ded6cf0996284a850084183af13d5894.tar.gz
upstream-57807f50ded6cf0996284a850084183af13d5894.tar.bz2
upstream-57807f50ded6cf0996284a850084183af13d5894.zip
base-files: add option to make /var persistent
In OpenWrt, /var is symlinked to /tmp by default. This is done to reduce the amount of writes to the flash chip, which often have not the greatest durability. As a result, things like DHCP or UPnP lease files, are not persistent across reboots. Since OpenWrt can run on devices with more durable storage, it makes sense to have an option for a persistent /var. Add an option to make /var persistent. When enabled, /var will no longer be symlinked to /tmp, but /var/run will be symlink to /tmp/run, as it should contains only files that should not be kept during reboot. The option is off by default, to maintain the current behaviour. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/ath79/generic')
0 files changed, 0 insertions, 0 deletions