Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (14 sloc) 476 Bytes
#!/bin/bash
deactivate 2>/dev/null
echo 'Creating Virtual Environment'
python installation/setup.py > webmote-env.py
python webmote-env.py webmote-env
rm webmote-env.py
cp -a utils/* .
if [[ `groups $(logname)` != *tty* ]]
then
echo "Webmote needs your permission to communicate with USB devices"
sudo usermod -a -G tty $(logname)
sudo usermod -a -G dialout $(logname)
echo "You will need to logout and log back in to communicate with USB devices via webmote."
fi