Update tools.py

This commit is contained in:
gutosie
2025-12-22 19:12:08 +02:00
committed by GitHub
parent 06fe23bf96
commit 560eef39f2

View File

@@ -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()