Commit e0ec4429 authored by Jan Luc Tavares's avatar Jan Luc Tavares
Browse files

melhorado script de instalacao

parent 3329e427
......@@ -5,6 +5,10 @@ make
mv ./N957Run ../python/N957Run
cd ..
echo '#!/bin/bash' > rodamodulo.sh
echo 'if [ "$(id -u)" != "0" ]; then'
echo ' echo "O programa deve ser executado como superusuario (sudo ou root)" 1>&2'
echo ' exit 1'
echo 'fi'
echo 'cd '$PWD'/python/' >> rodamodulo.sh
echo 'sudo '$PWD'/python/newmodulo.py' >> rodamodulo.sh
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment