From 86eca4da91111b9eb19d1e1901146c56992b05c9 Mon Sep 17 00:00:00 2001 From: gutosie Date: Sun, 14 Dec 2025 17:51:09 +0200 Subject: [PATCH] Update tools.py --- NeoBoot/files/tools.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index d5bf07c..da9f348 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -2256,9 +2256,9 @@ class DiskLabelSet(Screen): cmd3 = "echo -e '\n%s '" % _('UUID exists or neoboot not installed yet\nAfter installing the plugin, give uuid\n\nReboot...') else: if fileExists('/etc/fstab.org'): - system('rm -r /etc/fstab; mv /etc/fstab.org /etc/fstab') + system('rm -r /etc/fstab; mv /etc/fstab.org /etc/fstab; sleep 2;') elif not fileExists('/etc/fstab.org'): - system('cp -r /etc/fstab /etc/fstab.org ') + system('cp -r /etc/fstab /etc/fstab.org; sleep 2 ') if getFind_usb() == 'sdb' and getLocationUSBdir() == '/dev/sdb1': os.system('echo UUID=' + getMyUUIDusb() + ' ' + locatin_neo + ' auto defaults 0 0 >> /etc/fstab') @@ -2273,9 +2273,10 @@ class DiskLabelSet(Screen): os.system('echo UUID=' + getMyUUIDhdd() + ' ' + locatIN_hdd + ' auto defaults 0 0 >> /etc/fstab') - cmd3 = "echo -e '\n%s '" % _('UUID set OK\nUUID in fstab:') - cmd4 = 'cat /etc/fstab' - cmd5 = "echo -e '\n%s '" % _('Please Reboot your STB.\n') + cmd3 = "echo -e '\n%s '" % _('UUID set OK\nUUID in fstab:') + cmd4 = 'sleep 2; cat /etc/fstab' + cmd5 = "echo -e '\n%s '" % _('Please Reboot your STB.\n') + self.session.open(Console, _('Disk Label...!'), [cmd, cmd1, cmd2,cmd3, cmd4, cmd5])