7160845 add site-modules directory (cont.)
authorStephen Talley <stephen.talley@oracle.com>
Thu, 12 Apr 2012 17:24:55 -0400
changeset 837 d9d9dacee805
parent 836 af26a29c1010
child 838 82fe4c8f2260
7160845 add site-modules directory (cont.)
usr/src/lib/pyrad/util.py
--- a/usr/src/lib/pyrad/util.py	Thu Apr 12 16:48:16 2012 -0400
+++ b/usr/src/lib/pyrad/util.py	Thu Apr 12 17:24:55 2012 -0400
@@ -108,7 +108,8 @@
 	for module in modules:
 	    cmd.extend(["-M", map_path(root, module)])
     else:
-	cmd.extend(["-m", map_path(root, "/usr/lib/rad/module")])
+	cmd.extend(["-m", map_path(root, "/usr/lib/rad/module"),
+	    "-m", map_path(root, "/usr/lib/rad/site-modules")])
 
     if debug:
 	cmd.extend(["-d"])