From 696b1e7342cd869e6806521ab49665c05f40c336 Mon Sep 17 00:00:00 2001 From: justmarvinn Date: Sun, 8 Jun 2025 13:31:05 +0200 Subject: [PATCH] little changes in main script --- usr/bin/t3hs/t3hs_sim800 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/usr/bin/t3hs/t3hs_sim800 b/usr/bin/t3hs/t3hs_sim800 index 337d630..a5a7a7f 100755 --- a/usr/bin/t3hs/t3hs_sim800 +++ b/usr/bin/t3hs/t3hs_sim800 @@ -122,11 +122,6 @@ EOF local password="$5" local iface="${6:-ppp0}" - if ip link show $iface > /dev/null 2>&1; then - echo "Interface $iface already exists" - exit 1 - fi - args="" if [[ -z $topic ]]; then echo "topic must be provided to \`mqtt_off\` function" @@ -209,5 +204,6 @@ case $# in ;; *) print_usage + exit 1 ;; esac