From bd02c6edab93d6e998e8089c62a0d75977303b23 Mon Sep 17 00:00:00 2001 From: leannep Date: Fri, 11 Oct 2024 13:25:39 -0300 Subject: [PATCH] Removed deptecated script --- inspection/test_LVV-T192/test_LVV-T192.sh | 26 ----------------------- 1 file changed, 26 deletions(-) delete mode 100755 inspection/test_LVV-T192/test_LVV-T192.sh diff --git a/inspection/test_LVV-T192/test_LVV-T192.sh b/inspection/test_LVV-T192/test_LVV-T192.sh deleted file mode 100755 index 117f7c9..0000000 --- a/inspection/test_LVV-T192/test_LVV-T192.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -# Check local IP address -local_ip="ipconfig getifaddr en0" -localip=$(eval "$local_ip") -echo "The output is: $localip" - -# Check connection to a site -wget -q --spider http://google.com -if [ $? -ne 0 ]; then - echo "connection to site failed" -fi - -# Download a document -url="https://dmtn-226.lsst.io/DMTN-226.pdf" -wget "$url" -if [ $? -ne 0 ]; then - echo "Command failed with exit status $?" -fi - -# Check file exists locally -file_path=$(basename $url) -if [ ! -f "$file_path" ]; then - echo "File does not exist: $file_path" -fi -rm $file_path \ No newline at end of file