summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/lte.sh
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-08-01 12:14:30 +0200
committertv <tv@krebsco.de>2023-08-01 12:14:30 +0200
commit7be9bfdc55d672de39dce98dae9c6d112404dfc6 (patch)
treee89a93ad96e6f35490ffbf6b6a337ca4dcc9a170 /makefu/2configs/hw/lte.sh
parent5d1b0675cf179f863a5b34b67661a953197b6057 (diff)
parent6e63efa3645353bc0549f5f152ef811fff5d644c (diff)
Merge remote-tracking branch 'orange/master'
Diffstat (limited to 'makefu/2configs/hw/lte.sh')
-rwxr-xr-xmakefu/2configs/hw/lte.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/makefu/2configs/hw/lte.sh b/makefu/2configs/hw/lte.sh
deleted file mode 100755
index a8ae31586..000000000
--- a/makefu/2configs/hw/lte.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#/bin/sh
-
-if [[ "$EUID" -ne 0 ]]; then
- echo "This script must be run as root, elevating!"
- exec sudo $0 $1
- exit 0
-fi
-
-if [[ "$1" = "down" ]]; then
- echo "taking wwan0 down!"
- ip link set wwan0 down
- rmmod xmm7360
- exit
-fi
-
-if [[ "$1" = "up" ]]; then
- echo "running modprobe"
- modprobe xmm7360
- echo "bringing wwan0 up!"
- until open_xdatachannel -a web.vodafone.de;do
- modprobe -r xmm7360
- modprobe xmm7360
- done
- ip link set wwan0 up
- echo "nameserver 1.1.1.1" | tee -a /etc/resolv.conf
-fi