summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/mv_webuser.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-01 20:22:46 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-01 20:22:46 (GMT)
commitaa8cbfddbec8df7338a629fd96e6cfce0bb64ed7 (patch)
tree4fffce1cf1702e0c6516e174e064fec86b2eb7a2 /abs/core-testing/LinHES-config/mv_webuser.py
parentb859b1baafe3d3a899c5f9c70a039327c57663e6 (diff)
downloadlinhes_pkgbuild-aa8cbfddbec8df7338a629fd96e6cfce0bb64ed7.zip
linhes_pkgbuild-aa8cbfddbec8df7338a629fd96e6cfce0bb64ed7.tar.gz
linhes_pkgbuild-aa8cbfddbec8df7338a629fd96e6cfce0bb64ed7.tar.bz2
LinHES-config: lineup debugging output
Diffstat (limited to 'abs/core-testing/LinHES-config/mv_webuser.py')
-rw-r--r--abs/core-testing/LinHES-config/mv_webuser.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/abs/core-testing/LinHES-config/mv_webuser.py b/abs/core-testing/LinHES-config/mv_webuser.py
index 026121f..a8517a8 100644
--- a/abs/core-testing/LinHES-config/mv_webuser.py
+++ b/abs/core-testing/LinHES-config/mv_webuser.py
@@ -3,17 +3,19 @@ import logging, mv_common
#import os
def setup_web_auth(UseMythWEB_auth):
+ logging.info("____Start of setup_web_auth____")
if UseMythWEB_auth == str(1):
#enable auth
- logging.info("Enabling authorization for mythweb")
+ logging.info(" Enabling authorization for mythweb")
cmd='''sed -i "s/^.*include.*auth-inc.conf.*$/include \\"\/etc\/lighttpd\/auth-inc.conf\\"/g" /etc/lighttpd/lighttpd.conf'''
mv_common.runcmd(cmd)
else:
#disable auth
- logging.info("Disabling authorization for mythweb")
+ logging.info(" Disabling authorization for mythweb")
cmd='''sed -i "s/^.*include.*auth-inc.conf.*$/#include \\"\/etc\/lighttpd\/auth-inc.conf\\"/g" /etc/lighttpd/lighttpd.conf'''
mv_common.runcmd(cmd)
logging.debug("Restarting lighttpd")
cmd="sudo sv restart lighttpd"
mv_common.runcmd(cmd)
+ logging.info("__End of webauth\n")