Guest User

Untitled

a guest
Oct 27th, 2014
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. if (connection_type == "1" && data["connection_type"] != "1")
  2. cronCommand = "/usr/bin/vim -s <(echo '/w'; echo ':s/^.\{1}//'; echo :wq) /test.txt"
  3. system("/bin/bash -c #{cronCommand}")
  4. print "AHHHHHHH"
  5. elsif (connection_type != "1" && data["connection_type"] == "1")
  6. cronCommand = "/usr/bin/vim -s <(echo '/wvdial'; echo ':s/^/#/'; echo :wq) /test.txt"
  7. system("/bin/bash -c #{cronCommand}")
  8. print "OHHHHHHHh"
Advertisement
Add Comment
Please, Sign In to add comment