Beispiel #1
0
 def slotReboot(self):
     
     try:
         yalisys.umount(ctx.consts.target_dir + "/home")
     except:
         pass
     yalisys.umount(ctx.consts.target_dir)
     yalisys.fastreboot()
Beispiel #2
0
    def execute(self):

        ctx.screens.disableNext()

        self.info.show()
        self.info.setAlignment(QLabel.AlignCenter)

        #FIXME: this is a dirty and temporary workaround.. will be removed.
#        os.chmod(ctx.consts.target_dir + "/var/tmp", 01777)

        # remove cd...
        w = RebootWidget(self)
        self.dialog = WarningDialog(w, self)
        self.dialog.exec_loop()


        try:
            yalisys.umount(ctx.consts.target_dir + "/home")
        except:
            pass

        yalisys.umount(ctx.consts.target_dir)
        yalisys.fastreboot()
Beispiel #3
0
 def slotReboot(self):
     yalisys.fastreboot()