procd: fix service file tracking
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Dec 2013 15:38:28 +0000 (15:38 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Dec 2013 15:38:28 +0000 (15:38 +0000)
commit389262f94e939ea9d99a120b98dac4cd840337bd
treeaeea391bb903318a1db54e004da1cdf8f5e89cfd
parent46f28e1d8b91c3bdd2852ae2b91cbb327fc0a90a
procd: fix service file tracking

The instance_config_move() function in the procd instance managing code is
missing a blobmsg_list_move() call to update the tracked file items with the
newly calculated checksums in case of a file change.

Without that change, services are always reloaded after the first change to
a tracked file regardless of whether there are any subsequent changes or not.

Add a missing instance of blobmsg_list_free() as well.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39132 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/procd/Makefile