summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/build-accel-ppp.sh
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2023-04-04 11:21:38 +0300
committerzsdc <taras@vyos.io>2023-04-04 11:21:38 +0300
commit7d9f655936757cae18251ce8b46f585c6d6e3d22 (patch)
tree4605a77689837b386faa128c6d690fb3c533b1f8 /packages/linux-kernel/build-accel-ppp.sh
parent92de97acf48ea05e56e2bac90ede8b25545ac410 (diff)
downloadvyos-build-7d9f655936757cae18251ce8b46f585c6d6e3d22.tar.gz
vyos-build-7d9f655936757cae18251ce8b46f585c6d6e3d22.zip
accel-ppp: T5138: Use L2TP Calling-Number in RADIUS attributes
Use L2TP Calling-Number in Calling-Station-ID RADIUS attribute
Diffstat (limited to 'packages/linux-kernel/build-accel-ppp.sh')
-rwxr-xr-xpackages/linux-kernel/build-accel-ppp.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/linux-kernel/build-accel-ppp.sh b/packages/linux-kernel/build-accel-ppp.sh
index 01fd7bd8..1685ff8d 100755
--- a/packages/linux-kernel/build-accel-ppp.sh
+++ b/packages/linux-kernel/build-accel-ppp.sh
@@ -13,6 +13,16 @@ if [ ! -f ${KERNEL_VAR_FILE} ]; then
exit 1
fi
+PATCH_DIR=${CWD}/patches/accel-ppp
+if [ -d $PATCH_DIR ]; then
+ cd ${ACCEL_SRC}
+ for patch in $(ls ${PATCH_DIR})
+ do
+ echo "I: Apply patch: ${PATCH_DIR}/${patch}"
+ patch -p1 < ${PATCH_DIR}/${patch}
+ done
+fi
+
. ${KERNEL_VAR_FILE}
mkdir -p ${ACCEL_SRC}/build
cd ${ACCEL_SRC}/build