Advertisement
Guest User

Untitled

a guest
Apr 16th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. #! /bin/bash
  2. while [ 1 -eq 1 ]
  3. do
  4. x=5
  5. y=1
  6. while [ $x -gt 2 ]
  7. do
  8. x=0
  9. y=1
  10. echo $x
  11. echo $y
  12. while [ $y -gt 0 ] && [ $x -lt 3 ]
  13. do
  14. x=$[x+1]
  15. ping -w 3 -c 3 169.254.1.1
  16.  
  17. y=$?
  18. echo $x
  19. echo $y
  20. done
  21. done
  22. echo sleep60
  23. sleep 6
  24.  
  25. x=5
  26. y=1
  27. while [ $x -gt 2 ]
  28. do
  29. x=$[ x=0 ]
  30. echo $x
  31. echo $y
  32. while [ $y -gt 0 ] && [ $x -lt 3 ]
  33. do
  34. x=$[x+1]
  35. ping -w 3 -c 3 8.8.8.8
  36. y=$?
  37. echo $x
  38. done
  39. done
  40.  
  41. /usr/bin/mono /home/ida/Documents/egedal/ImpinjHandler/bin/Debug/ImpinjHandler.exe
  42. done
  43. --------------------------------------------------
  44. /home/ida/.config/lxsession/lxde-pi/autostart:
  45.  
  46. @lxpanel --profile LXDE-pi
  47. @pcmanfm --desktop --profile LXDE-pi
  48. @lxterminal -e /home/ida/autorun.sh
  49. @xscreensaver -no-splash
  50. @point-rpi
  51. sudo bash /home/ida/wifi-to-eth-route.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement