From bbc67c8886e2e6ee5ed8a43a10f362cdc400a647 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 30 Nov 2017 20:45:05 +0100 Subject: kernel-tree: jury rig is the more common spelling According to the Google Ngram viewer, jury is significantly more common than jerry. Signed-off-by: Jason A. Donenfeld --- kernel-tree-scripts/jerry-rig.sh | 13 ------------- kernel-tree-scripts/jury-rig.sh | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) delete mode 100755 kernel-tree-scripts/jerry-rig.sh create mode 100755 kernel-tree-scripts/jury-rig.sh diff --git a/kernel-tree-scripts/jerry-rig.sh b/kernel-tree-scripts/jerry-rig.sh deleted file mode 100755 index fe309a5..0000000 --- a/kernel-tree-scripts/jerry-rig.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -K="$1" -WG="$(readlink -f "$(dirname "$(readlink -f "$0")")/../../src/")" - -if [[ ! -e $K/net/Kconfig ]]; then - echo "You must specify the location of kernel sources as the first argument." >&2 - exit 1 -fi - -ln -sfT "$WG" "$K/net/wireguard" -sed -i "/^obj-\\\$(CONFIG_NETFILTER).*+=/a obj-\$(CONFIG_WIREGUARD) += wireguard/" "$K/net/Makefile" -sed -i "/^if INET\$/a source \"net/wireguard/Kconfig\"" "$K/net/Kconfig" diff --git a/kernel-tree-scripts/jury-rig.sh b/kernel-tree-scripts/jury-rig.sh new file mode 100755 index 0000000..fe309a5 --- /dev/null +++ b/kernel-tree-scripts/jury-rig.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +K="$1" +WG="$(readlink -f "$(dirname "$(readlink -f "$0")")/../../src/")" + +if [[ ! -e $K/net/Kconfig ]]; then + echo "You must specify the location of kernel sources as the first argument." >&2 + exit 1 +fi + +ln -sfT "$WG" "$K/net/wireguard" +sed -i "/^obj-\\\$(CONFIG_NETFILTER).*+=/a obj-\$(CONFIG_WIREGUARD) += wireguard/" "$K/net/Makefile" +sed -i "/^if INET\$/a source \"net/wireguard/Kconfig\"" "$K/net/Kconfig" -- cgit v1.2.3