dectmngr: sync file in initscript.

make sure the new file is flushed to flash. Else if power is pulled the
file might end up as zero bytes large.
This commit is contained in:
Kenneth Johansson 2016-02-26 15:59:51 +01:00
parent a1a8e179d8
commit 3324bd6c94

View file

@ -30,6 +30,7 @@ start_service() {
dd of=/etc/dect/nvs if=/tmp/fixed_emc conv=notrunc bs=1 seek=10
dd of=/etc/dect/nvs if=/tmp/bcm_def_freq conv=notrunc bs=1 seek=6
dd of=/etc/dect/nvs if=/tmp/dect_antenna_diversity conv=notrunc bs=1 seek=32
fsync /etc/dect/nvs
fi
# init dectproxy