View Single Post
Posts: 8 | Thanked: 23 times | Joined on Aug 2012
#2899
Originally Posted by baem90 View Post
@gronerth

can you give full command.. really noob to edit.. thank you
With commands:

Code:
devel-su
password: rootme

cd /opt/waxmppplugin/bin/wazapp

sed "332s/self.realOut.write(1);/self.realOut.write(0);/1" protocoltreenode.py > protocoltreenode1.py

sed "333s/self.realOut.write(0);/self.realOut.write(4);/1" protocoltreenode1.py > protocoltreenode2.py

mv protocoltreenode2.py protocoltreenode.py
Note: 332 and 333 lines are for tgalal's version, 347 and 348 are for Cepi's version.

Last edited by gronerth; 2012-08-29 at 23:13.
 

The Following 4 Users Say Thank You to gronerth For This Useful Post: