mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-05 21:55:39 +01:00
Update devices.py
This commit is contained in:
@@ -29,7 +29,7 @@ import os
|
|||||||
from Screens.VirtualKeyBoard import VirtualKeyBoard
|
from Screens.VirtualKeyBoard import VirtualKeyBoard
|
||||||
import gettext
|
import gettext
|
||||||
import os
|
import os
|
||||||
from Plugins.Extensions.NeoBoot.files.stbbranding import getTunerModel, getCheckExt
|
from Plugins.Extensions.NeoBoot.files.stbbranding import getTunerModel, getCheckExt, getBoxHostName
|
||||||
if not fileExists('/usr/lib/python2.7'):
|
if not fileExists('/usr/lib/python2.7'):
|
||||||
getoutput = "os.system"
|
getoutput = "os.system"
|
||||||
else:
|
else:
|
||||||
@@ -463,8 +463,8 @@ class DevicesConf(Screen, ConfigListScreen):
|
|||||||
ybox.setTitle(_('Please, wait....'))
|
ybox.setTitle(_('Please, wait....'))
|
||||||
|
|
||||||
def delay(self, val):
|
def delay(self, val):
|
||||||
#if fileExists('/etc/init.d/volatile-media.sh'):
|
if fileExists('/etc/init.d/volatile-media.sh') and getBoxHostName() == "vusolo2":
|
||||||
#system('mv /etc/init.d/volatile-media.sh /etc/init.d/volatile-media.sh.org')
|
system('mv /etc/init.d/volatile-media.sh /etc/init.d/volatile-media.sh.org')
|
||||||
message = _('Completed assembly of disks.\nReturn to installation ?')
|
message = _('Completed assembly of disks.\nReturn to installation ?')
|
||||||
ybox = self.session.openWithCallback(self.myclose, MessageBox, message, MessageBox.TYPE_YESNO)
|
ybox = self.session.openWithCallback(self.myclose, MessageBox, message, MessageBox.TYPE_YESNO)
|
||||||
ybox.setTitle(_('MOUNTING....'))
|
ybox.setTitle(_('MOUNTING....'))
|
||||||
|
|||||||
Reference in New Issue
Block a user