pushbutton.sh.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version='1.0' encoding='iso-8859-1'?>
  2. <!doctype html public '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
  3. <html xmlns='http://www.w3c.org/1999/xhtml' lang='en-us'>
  4. <head>
  5. <title>
  6. pushbutton.sh
  7. </title>
  8. <meta http-equiv='content-type' content='text/html;iso-8859-1'/>
  9. <meta name='generator' content='motley-tools 1.9.4 13:40:33 Feb 18 2015'/>
  10. <meta name='author' content='cmaier@cmassoc.net'/>
  11. <meta name='robots' content='noindex,nofollow'/>
  12. <link href='toolkit.css' rel='stylesheet' type='text/css'/>
  13. </head>
  14. <body>
  15. <div class='headerlink'>
  16. [<a href='pts.sh.html' title=' pts.sh '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='replace-softloader.sh.html' title=' replace-softloader.sh '>NEXT</a>]
  19. </div>
  20. <pre>
  21. #!/bin/sh
  22. # file: scripts/pushbutton.sh
  23. # This script illustrates how to use MS_PB_ENC to break and make a
  24. # network for testing purposes;
  25. # ====================================================================
  26. # host symbols;
  27. # --------------------------------------------------------------------
  28. . /etc/environment
  29. . ${SCRIPTS}/hardware.sh
  30. # ====================================================================
  31. # leave network;
  32. # --------------------------------------------------------------------
  33. int6k -i ${ETH1} -B 2
  34. int6kwait -i ${ETH1} -rs
  35. int6k -i ${ETH2} -B 2
  36. int6kwait -i${ETH2} -rs
  37. int6k -i ${ETH1} -I
  38. int6k -i ${ETH2} -I
  39. # ====================================================================
  40. # create network;
  41. # --------------------------------------------------------------------
  42. int6k -i ${ETH1} -B 1
  43. int6k -i ${ETH2} -B 1
  44. int6kwait -i ${ETH1} -rs
  45. int6kwait -i ${ETH2} -rs
  46. int6k -i ${ETH1} -I
  47. int6k -i ${ETH2} -I
  48. </pre>
  49. <div class='footerlink'>
  50. [<a href='pts.sh.html' title=' pts.sh '>PREV</a>]
  51. [<a href='toolkit.html' title=' Index '>HOME</a>]
  52. [<a href='replace-softloader.sh.html' title=' replace-softloader.sh '>NEXT</a>]
  53. </div>
  54. </body>
  55. </html>