summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/preInstall.sh1
-rw-r--r--cmake/preUninstall.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/cmake/preInstall.sh b/cmake/preInstall.sh
index 397e134..17d4919 100644
--- a/cmake/preInstall.sh
+++ b/cmake/preInstall.sh
@@ -23,4 +23,5 @@ if [[ -z `grep -rn '\[RADIUS_PLUG\]' ${DST}/${CONFILE}` ]];then
sed -i '/\[RADIUS_PLUG\]/a\COLLECT_TOPIC=RADIUS-RECORD-LOG' ${DST}/${CONFILE}
sed -i '/\[RADIUS_PLUG\]/a\BROKERLIST=127.0.0.1:9092' ${DST}/${CONFILE}
sed -i '/\[RADIUS_PLUG\]/a\DEVICE_ID=0' ${DST}/${CONFILE}
+ sed -i '/\[RADIUS_PLUG\]/a\PACKET_TYPE_FLAG=16' ${DST}/${CONFILE}
fi
diff --git a/cmake/preUninstall.sh b/cmake/preUninstall.sh
index decc015..7cb7119 100644
--- a/cmake/preUninstall.sh
+++ b/cmake/preUninstall.sh
@@ -8,5 +8,5 @@ if [ $1 == 0 ]; then
touch ${DST}/${CONFILE}
sed -i '/fw_mail_plug.inf/d' ${DST}/plug/conflist.inf
- sed -i '/\[RADIUS_PLUG\]/,+7d' ${DST}/${CONFILE}
+ sed -i '/\[RADIUS_PLUG\]/,+8d' ${DST}/${CONFILE}
fi