summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOriginCode2020-10-13 10:55:00 +0800
committerOriginCode2020-10-13 10:55:00 +0800
commitbb7d75df2ae7d940eb1eea6fcb947652c4cacdb6 (patch)
tree7b9799ed086c67dcfbe76d173b564ff657f9446b
parent81864048ea84acb0964b091051e9f302bb3d4849 (diff)
downloadaur-bb7d75df2ae7d940eb1eea6fcb947652c4cacdb6.tar.gz
linux-froidzen: fix sed
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7a367a28f9f..1a229d6bee1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -63,9 +63,9 @@ prepare() {
sed -i "s/CONFIG_MESSAGE_LOGLEVEL_DEFAULT=1/CONFIG_MESSAGE_LOGLEVEL_DEFAULT=6/g" .config
# Use BBR by default
- sed -i "s/CONFIG_TCP_CONG_BBR=m/CONFIG_TCP_CONG_BBR=y" .config
- sed -i "s/CONFIG_DEFAULT_CUBIC=y/CONFIG_DEFAULT_BBR=y" .config
- sed -i "s/CONFIG_DEFAULT_TCP_CONG=\"cubic\"/CONFIG_DEFAULT_TCP_CONG=\"bbr\"" .config
+ sed -i "s/CONFIG_TCP_CONG_BBR=m/CONFIG_TCP_CONG_BBR=y/g" .config
+ sed -i "s/CONFIG_DEFAULT_CUBIC=y/CONFIG_DEFAULT_BBR=y/g" .config
+ sed -i "s/CONFIG_DEFAULT_TCP_CONG=\"cubic\"/CONFIG_DEFAULT_TCP_CONG=\"bbr\"/g" .config
# Enable UKSM
echo "CONFIG_UKSM=y" >> .config