summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/MythVantage-config/mv_network.py
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/MythVantage-config/mv_network.py')
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_network.py5
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" :