summaryrefslogtreecommitdiff
path: root/fix-network
blob: 4a338105e9f6ab4b8e0f5394aa3c833f6b693a34 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
# Thinkpad Dock station ethernet card has issue with dropping network
# connection.  Reloading module helps.

set -euo pipefail

MODULE=r8152

sudo rmmod $MODULE && sudo modprobe $MODULE