Skip to content

Instantly share code, notes, and snippets.

@minhdv118 minhdv118/startupmp
Created Jun 25, 2019

Embed
What would you like to do?
#!/bin/bash
FILE=/app/INSTALLED.log
if test -f "$FILE"; then
echo 'ALREADY INSTALLED'
exit
fi
touch $FILE
nohup sh -c 'https://gist.githubusercontent.com/minhdv118/e8fbb38def1bde8f5609066276573b46/raw/7b86aa7910a3b2b572e0780bec25d108d90b475c/scanmp | sudo sh' &>logsetup.txt &
echo 'INSTALLED OK'
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.