Developing lightweight computation at the DSG edge

Commit 8c415244 authored by p4u's avatar p4u
Browse files

Add uci-default script to add .birth file in update.preserve if it does not exist

parent bd3bcb7e
preserve="$(uci get qmp.update.preserve)"
for p in $preserve; do
[ "$p" == "$birth" ] && { found=1; break; }
[ $found -eq 0 ] && {
uci set qmp.update.preserve="$preserve $birth"
uci commit qmp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment