more default settings i use

This commit is contained in:
2024-04-22 22:57:51 +02:00
parent 173d3c1673
commit c4412fb47b
14 changed files with 206 additions and 10 deletions

15
.scripts/findmtu.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
destination_ip="${1:-1.1.1.1}"
# Set initial packet size
packet_size=1200
# Loop to find the maximum MTU size
while true; do
ping -4 -M do -c 1 -s $packet_size $destination_ip &> /dev/null
if [ $? -ne 0 ]; then
echo "Maximum MTU size: $((packet_size + 28 - 2))"
break
fi
packet_size=$((packet_size + 2))
done

2
.scripts/flameshot.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
flameshot gui