[OpenWrt-Devel] Does "uci commit" really write to flash?
vincent.wiemann at ironai.com
Fri Dec 9 21:44:21 EST 2016
> I would like to know if an uci commit system really writes to flash
> even if there were no modifications to the /etc/config/system file?
„uci set“ will only make temporary changes which can be found in
/tmp/.uci. That dir acts as some kind of overlay...
"uci commit" will write those changes to the filesystem/flash.
It doesn't matter whether you use the command line tool or lua
bindings... „Commit“ will kill your flashchip in the long run :D.
Ordinarily OpenWrt doesn't do any write to flash without user interaction.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel