summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/mv_common.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-08 01:47:55 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-08 01:47:55 (GMT)
commit6a71275027db683cc2d6b6df1d7558adc47ff156 (patch)
treefc3772fb214d84b4d745be4c674e72fb47677a64 /abs/core/LinHES-config/mv_common.py
parent5711508ebf21a62cabc3c682ec8d65108452dcfe (diff)
downloadlinhes_pkgbuild-6a71275027db683cc2d6b6df1d7558adc47ff156.zip
linhes_pkgbuild-6a71275027db683cc2d6b6df1d7558adc47ff156.tar.gz
linhes_pkgbuild-6a71275027db683cc2d6b6df1d7558adc47ff156.tar.bz2
LinHES-config: fixed central NFS
new feature, if central NFS is selected the entry is added to nfsmap_auto
Diffstat (limited to 'abs/core/LinHES-config/mv_common.py')
-rwxr-xr-xabs/core/LinHES-config/mv_common.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/mv_common.py b/abs/core/LinHES-config/mv_common.py
index f1210ba..c2138dc 100755
--- a/abs/core/LinHES-config/mv_common.py
+++ b/abs/core/LinHES-config/mv_common.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
import logging, os, time
import commands
+import subprocess
import ConfigParser
import urllib2
config_file = "mv_config"
@@ -62,6 +63,10 @@ def read_config(module_config,data):
return rvalue
+
+def runcmd_bg(cmd):
+ subprocess.Popen(cmd)
+
def runcmd(cmd):
if data_config.NOOPDEBUG=="FALSE":
pass