mirror of https://github.com/n1nj4sec/pupy.git
small fixes
This commit is contained in:
parent
95ca27cd7a
commit
36f36ee49e
|
@ -34,6 +34,8 @@ client/**/*.py[cod]
|
||||||
pupy/*.py[cod]
|
pupy/*.py[cod]
|
||||||
pupy/pupylib/**/*.py[cod]
|
pupy/pupylib/**/*.py[cod]
|
||||||
pupy/modules/*.py[cod]
|
pupy/modules/*.py[cod]
|
||||||
|
pupy/modules/lib/*.py[cod]
|
||||||
|
pupy/modules/lib/**/*.py[cod]
|
||||||
pupy/network/**/*.pyc
|
pupy/network/**/*.pyc
|
||||||
|
|
||||||
# do not ignore package & templates files
|
# do not ignore package & templates files
|
||||||
|
|
|
@ -4,11 +4,11 @@ from pupylib.PupyModule import *
|
||||||
|
|
||||||
__class_name__="SetPersistence"
|
__class_name__="SetPersistence"
|
||||||
|
|
||||||
@compatibility("unix")
|
|
||||||
def print_callback(data):
|
def print_callback(data):
|
||||||
sys.stdout.write(data)
|
sys.stdout.write(data)
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
|
|
||||||
|
@compatibility("unix")
|
||||||
class SetPersistence(PupyModule):
|
class SetPersistence(PupyModule):
|
||||||
"""Add your pp.py file to /etc/init.d/ scripts
|
"""Add your pp.py file to /etc/init.d/ scripts
|
||||||
NOTE: the pp.py script needs to be running with root privileges in order to modify the init scripts."""
|
NOTE: the pp.py script needs to be running with root privileges in order to modify the init scripts."""
|
||||||
|
|
Loading…
Reference in New Issue