aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/ttl.sh
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-07-21 15:53:52 +0300
committereug-vs <eug-vs@keemail.me>2021-07-21 16:04:10 +0300
commitcf3eefda31e98d4725a64000861a388ba7708c62 (patch)
tree7e0028cede47398c74056c92af30c515bc8f9579 /.local/bin/ttl.sh
parent26d393eacb0468edeed62befe365c1ae0752a680 (diff)
downloaddotfiles-feat/stow.tar.gz
feat!: move to GNU Stow, remove wikifeat/stow
Diffstat (limited to '.local/bin/ttl.sh')
-rwxr-xr-x.local/bin/ttl.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/.local/bin/ttl.sh b/.local/bin/ttl.sh
deleted file mode 100755
index 20c13e5..0000000
--- a/.local/bin/ttl.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-# Fix default TTL and disable ipv6 making changes permanent
-# TODO: replace wlo1 with automatically detected device name
-
-sudo sysctl \
- net.ipv4.ip_default_ttl=65 \
- net.ipv6.conf.all.disable_ipv6=1\
- net.ipv6.conf.default.disable_ipv6=1 \
- net.ipv6.conf.wlo1.disable_ipv6=1 \
- | sudo tee /etc/sysctl.d/fix-ttl.conf -a
-