daily pastebin goal
80%
SHARE
TWEET

Untitled

a guest May 19th, 2017 47 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. b=`grep homefolder /usr/local/mindsensors/conf/msdev.cfg | cut -d"=" -f2 | cut -c 2-`
  2. for f in 'MSDriver.py' 'MSBrowser.py' 'psm_shutdown' 'swarmserver' 'pistorms-diag.sh'; do sudo ln -f $b/sys/$f /usr/local/bin/$f; done
  3. chmod +x $b/sys/swarmserver $b/sys/pistorms-diag.sh $b/programs/addresschange
  4. for f in 'rmap.py'  'rmapcfg.py' 'scratch.py' 'PiStorms.py' 'PiStormsCom.py' 'TouchScreenInput.py' 'mindsensorsUI.py' 'MS_ILI9341.py' 'mindsensors.py' 'MsDevices.py' 'LegoDevices.py' 'swarmclient.py'; do sudo ln -f $b/sys/$f /usr/local/lib/python2.7/dist-packages/$f; done
  5. sudo rm -rf /var/www
  6. sudo ln -s $b/www /var/www
  7. sudo ln -f $b/sys/msdev.cfg /usr/local/mindsensors/conf/msdev.cfg
  8. # skipping images, art, scratch, changing ownerships... programs are still only in /home/pi/PiStorms
  9. for f in 'MSDriver.sh' 'MSBrowser.sh' 'MSWeb.sh' 'SwarmServer.sh'; do sudo ln -f $b/setup/$f /etc/init.d/$f; done
  10. for f in 'MSDriver.sh' 'MSBrowser.sh' 'MSWeb.sh' 'SwarmServer.sh'; do chmod +x $b/setup/$f; done
  11. for f in 'ps_messenger_check.py' 'ps_updater.py'; do sudo ln -f $b/sys/$f /usr/local/bin/$f; done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top