This commit is contained in:
Sebastian Moser
2024-02-16 02:01:28 +01:00
parent d21bc3c7c5
commit aacc9e9eed
16 changed files with 233 additions and 16 deletions

View File

@@ -22,6 +22,12 @@ then
rclone mount --vfs-cache-mode full -vvvv onedrive-school:projekt-autobatterie ~/work/htl/projekt/wechner/mnt
elif [ "$1" == "mnt-school" ]
then
rclone mount --vfs-cache-mode full -vvvv onedrive-school: ~/mnt
elif [ "$1" == "wstunnel" ]
then
wstunnel -L 55555:127.0.0.1:49388 ws://sebastian.dns.army:49389
@@ -34,6 +40,17 @@ wget -O /tmp/speed-test.iso "https://dl.t2sde.org/binary/2022/t2-22.6-x86-64-min
rm /tmp/speed-test.iso
elif [ "$1" == "speed-test-upload" ]
then
host=$1
cat /dev/random | pv | ssh $host "cat > /dev/null"
elif [ "$1" == "speed-test-download" ]
then
host=$1
ssh $host "cat /dev/random" | pv > /dev/null
elif [ "$1" == "p" ]
then
ping orf.at