Developing lightweight computation at the DSG edge

Commit 655cbb07 authored by Jorge L. Florit's avatar Jorge L. Florit
Browse files

Add mini_snmpd config to preserve

parent 3ccfc9f5
......@@ -67,7 +67,7 @@ config 'qmp' 'update'
option filter 'sysupgrade'
# List of files which are gonna be saved between upgrades.
option preserve '/etc/config/qmp /etc/shadow /etc/passwd /etc/rc.local /etc/firewall.user /etc/dropbear /etc/config/b6m-spread /etc/qmp/.birth /etc/config/gateways'
option preserve '/etc/config/qmp /etc/shadow /etc/passwd /etc/rc.local /etc/firewall.user /etc/dropbear /etc/config/b6m-spread /etc/qmp/.birth /etc/config/gateways /etc/config/mini_snmpd'
# -----------------------------
# L3 roaming mode options
preserve="$(uci get qmp.update.preserve)"
for p in $preserve; do
[ "$p" == "$mini_snmpd" ] && { found=1; break; }
[ $found -eq 0 ] && {
uci set qmp.update.preserve="$preserve $mini_snmpd"
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