Update tools.py

This commit is contained in:
gutosie
2022-03-22 17:19:12 +02:00
committed by GitHub
parent fce5da2a0d
commit e24b14483f

View File

@@ -2143,6 +2143,8 @@ class DiskLabelSet(Screen):
'red': self.SetLabelDisk})
def SetLabelDisk(self):
#os.system("tune2fs -l /dev/sd?? | awk '/UUID/ {print $NF}' > /tmp/.myuuid")
#os.system("tune2fs -l %s | awk '/UUID/ {print $NF}' > /tmp/.myuuid" % (getLocationMultiboot()))
if os.path.exists('/media/hdd/ImageBoot'):
locatin_neo = '/media/hdd'
elif os.path.exists('/media/usb/ImageBoot'):