Last active
December 29, 2018 11:45
-
-
Save yarreg/de38c198f5ef1e18b04aaebb2e676283 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -z "$URL" ]; then | |
echo "Please provide script URL" | |
exit 1 | |
fi | |
cd /tmp | |
wget --no-check-certificate -O script.sh $URL | |
chmod +x script.sh | |
./script.sh | |
rm -f script.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment