summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
author刘学利 <[email protected]>2020-11-10 11:39:11 +0800
committer刘学利 <[email protected]>2020-11-10 11:39:11 +0800
commit4572abb14648535e13ed54d718e710e262b9effa (patch)
treeea4bad75095bf53fb94754d3b29aa53a215776bb /cmake
parent57ab95aa6245d86844c4a5b67706166cfdef3a2d (diff)
parent6efe7dc77fbdbb76062affdbf7e7228447d3bd69 (diff)
Merge branch 'develop-export-version' into 'master'HEADmaster
Develop export version See merge request PanGu/ntc_radius_plug!3
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