diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-13 23:50:06 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-13 23:50:06 (GMT) |
commit | ed42012166c5e0884049af699fa82e2ee8b130ed (patch) | |
tree | 84fd1cc78b685e9581aa55099b3b898301ff438b /abs/mv-core/MythVantage-config/mv_network.py | |
parent | 2cad5b74898cc22dedf4c3ccc2d0de2906a5dfd3 (diff) | |
parent | 13b5221b802174391f7d9c7da28785520283deec (diff) | |
download | linhes_pkgbuild-ed42012166c5e0884049af699fa82e2ee8b130ed.zip linhes_pkgbuild-ed42012166c5e0884049af699fa82e2ee8b130ed.tar.gz linhes_pkgbuild-ed42012166c5e0884049af699fa82e2ee8b130ed.tar.bz2 |
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/mv-core/MythVantage-config/mv_network.py')
-rwxr-xr-x | abs/mv-core/MythVantage-config/mv_network.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/abs/mv-core/MythVantage-config/mv_network.py b/abs/mv-core/MythVantage-config/mv_network.py index 3f8de3b..b80e4cc 100755 --- a/abs/mv-core/MythVantage-config/mv_network.py +++ b/abs/mv-core/MythVantage-config/mv_network.py @@ -263,7 +263,10 @@ def setup_interface(netdev,systemconfig): optionfile=etcnetdir+"/"+netdev+"/options" if not os.path.exists(optionfile): - os.makedirs(etcnetdir+"/"+netdev) + try: + os.makedirs(etcnetdir+"/"+netdev) + except: + pass mv_common.cp_and_log(systemconfig["TEMPLATES"]+"/etcnet/eth/options", optionfile) if netinfo["isactive"] == "1" : |