Configuration manager with DCF in object 0x1F22 rewritten almost from scratch.
1. The boot-up message from a device starts a verification of entries
2. If all entries matches the node is started
3. If an entry differs the whole dcf is written and a save is done
4. A reset is send to the node
5. If several boot-up are received at the same time they will be managed one
by one thus only one free sdo client is needed for the whole process.
#!/bin/sh
# postrm script for canfestival-objdictedit
#
# see: dh_installdeb(1)
set -e
OBJDICTEDIT=/usr/bin/objdictedit
OBJDICTGEN=/usr/bin/objdictgen
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
if [ -f "$OBJDICTEDIT" ]; then
rm $OBJDICTEDIT
fi
if [ -f "$OBJDICTGEN" ]; then
rm $OBJDICTGEN
fi
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0