|
452 |
# Shut down temporary interface |
452 |
# Shut down temporary interface |
453 |
subprocess.call(['ifconfig', var.split('/')[1].replace('_', ':'), 'down']) |
453 |
subprocess.call(['ifconfig', var.split('/')[1].replace('_', ':'), 'down']) |
454 |
|
454 |
|
|
|
455 |
# call hooks |
456 |
if os.path.exists('/usr/lib/univention-system-setup/appliance.post.hooks.d'): |
457 |
subprocess.call( ['run-parts', '/usr/lib/univention-system-setup/appliance.hooks.post.d'] , stdout = f, stderr = f ) |
458 |
|
455 |
# make sure that UMC servers and apache will not be restartet |
459 |
# make sure that UMC servers and apache will not be restartet |
456 |
subprocess.call( CMD_ENABLE_EXEC_WITH_RESTART, stdout = f, stderr = f ) |
460 |
subprocess.call( CMD_ENABLE_EXEC_WITH_RESTART, stdout = f, stderr = f ) |
457 |
|
461 |
|