Changeset 4399


Ignore:
Timestamp:
Apr 21, 2017, 9:42:35 PM (2 years ago)
Author:
hectorgh
Message:

stability changes. Read changelog

Location:
zero-server-wizard/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zero-server-wizard/trunk/fuentes/debian/changelog

    r4388 r4399  
     1zero-server-wizard (0.9.44) xenial; urgency=high
     2
     3  * Making sure n4d stores Zero-Server-Wizard configured state in
     4    zero-center variable
     5  * endoperations use newer systemd calls
     6  * making sure dnsmasq is able to restart properly
     7
     8 -- Hector Garcia Huerta <hectorgh@gmail.com>  Fri, 21 Apr 2017 21:41:05 +0200
     9
    110zero-server-wizard (0.9.43) xenial; urgency=high
    211
  • zero-server-wizard/trunk/fuentes/install-files/usr/share/n4d/python-plugins/ZeroServerWizardManager.py

    r4387 r4399  
    1616        def end_operations(self):
    1717
    18                 os.system("zero-center set-configured zero-server-wizard")
    19                
    20                 os.system("/usr/sbin/upstart-manager disable network-manager")
    21                 os.system("stop network-manager")
    22                 os.system("/etc/init.d/networking restart")
    23                
    24                 for iface in lliurex.net.get_devices_info():
    25                         os.system("ifdown %s; ifup %s"%(iface["name"],iface["name"]))
    26                        
    27                 os.system("/etc/init.d/dnsmasq restart")
    28                 os.system("service smbd restart")
     18                objects["ZCenterVariables"].set_configured("zero-server-wizard")
     19                objects["VariablesManager"].write_file()
     20
     21                os.system("systemctl stop NetworkManager; systemctl stop NetworkManager-dispatcher")
     22                os.system("systemctl mask NetworkManager; systemctl mask NetworkManager-dispatcher")
     23                os.system("systemctl restart resolvconf")
     24                os.system("systemctl restart networking")
     25                os.system("systemctl restart dnsmasq")
     26                os.system("systemctl restart smbd")
    2927               
    3028                #Fix firefox default config
     
    3432                        os.remove (defaultProperties)
    3533                os.symlink(serverProperties,defaultProperties)
    36 
     34               
    3735                p=multiprocessing.Process(target=self._t_restart)
    3836                p.start()
Note: See TracChangeset for help on using the changeset viewer.