Add files via upload

This commit is contained in:
kneutron 2022-06-21 11:40:38 -05:00 committed by GitHub
parent 662b8a6a44
commit 4e0a12bd55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
OSX/jumboframes-osx.sh Normal file
View File

@ -0,0 +1,19 @@
#!/bin/bash
if [ "$1" = "" ]; then
echo "Config for jumbo frames 9000"
ifconfig en0 mtu 9000
else
echo "Config for std frames 1500"
ifconfig en0 mtu 1500
fi
echo "$(date) - Waiting for interface to come back online"
result=1
while [ $result -gt 0 ]; do
result=$(ifconfig en0 |grep -c inactive)
sleep .5
done
date
ifconfig en0