From 560eef39f27228042545befb39522595fb357e36 Mon Sep 17 00:00:00 2001 From: gutosie Date: Mon, 22 Dec 2025 19:12:08 +0200 Subject: [PATCH] Update tools.py --- NeoBoot/files/tools.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index ea368ff..55df9b7 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -2277,11 +2277,12 @@ class DiskLabelSet(Screen): if getFind_hdd() == 'sda' and getLocationUSBdir() == '/dev/sda1': os.system('echo UUID=' + getMyUUIDusb() + ' ' + locatIN_hdd + ' auto defaults 0 0 >> /etc/fstab') - if getFind_usb() == 'sda' and getLocationHDDdir() == '/dev/sdb1': + if getFind_usb() == 'sdb' and getLocationHDDdir() == '/dev/sdb1': os.system('echo UUID=' + getMyUUIDhdd() + ' ' + locatIN_hdd + ' auto defaults 0 0 >> /etc/fstab') - if getFind_hdd() == 'sda' and getLocationUSBdir() == '/dev/sdb1': + if getFind_hdd() == 'sdb' and getLocationUSBdir() == '/dev/sdb1': os.system('echo UUID=' + getMyUUIDusb() + ' ' + locatIN_hdd + ' auto defaults 0 0 >> /etc/fstab') + else: self.UUID_OK()