1
0
mirror of https://github.com/gryf/wicd.git synced 2026-02-21 09:25:46 +01:00

Refactor daemon.py to handle command line arguments.

Move the old module code in daemon.py into a main() function, splitting
off the daemonization into daemonize() function. Also add correct
parsing of command line arguments to allow disabling of stderr and
stdout redirection, daemonizing and auto-connect.

Tidy up start of file including correct GPL license pre-amble and a
short description of the wicd daemon module.
This commit is contained in:
metrics
2007-08-12 03:31:04 +00:00
parent 68424ebfea
commit 8c3a97d572
2 changed files with 132 additions and 82 deletions

View File

@@ -1,4 +1,4 @@
"""Path configuration and functions for the wicd daemon and gui clients.
""" Path configuration and functions for the wicd daemon and gui clients.
chdir() -- Change directory to the location of the current file.