#!/bin/sh

keep_settings="$(uci -q get cwmp.cpe.fw_upgrade_keep_settings)"
if [ -n "${keep_settings}" ]; then
	uci -q delete cwmp.cpe.fw_upgrade_keep_settings
	uci -q set cwmp.cpe.KeepConfig="${keep_settings}"
fi
