summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda12
1 files changed, 12 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index c6e643d48..e9110d653 100755
--- a/anaconda
+++ b/anaconda
@@ -1,6 +1,17 @@
#!/usr/bin/python
import sys, os
+
+print sys.argv
+
+# Python passed my path as argv[0]!
+# if sys.argv[0][-7:] == "syslogd":
+if sys.argv[1] == "--syslogd":
+ from syslogd import Syslogd
+ root = sys.argv[2]
+ output = sys.argv[3]
+ syslog = Syslogd (root, open (output, "w+"))
+
import gettext
import traceback
import string
@@ -146,6 +157,7 @@ if traceOnly:
import urlinstall
import mimetools
import mimetypes
+ import syslogd
for module in sys.__dict__['modules'].keys ():
if module not in [ "__builtin__", "__main__" ]:
foo = repr (sys.__dict__['modules'][module])