Add files via upload

This commit is contained in:
gutosie
2021-03-07 10:23:20 +02:00
committed by GitHub
parent b85fa24e56
commit b247499ab5

View File

@@ -236,7 +236,7 @@ class ManagerDevice(Screen):
if not fileExists('/etc/fstab.org'):
os.system('cp -f /etc/fstab /etc/fstab.org')
elif fileExists('/etc/fstab.org'):
os.system('cp /etc/fstab.org /etc/fstab')
os.system('rm -f /etc/fstab; cp /etc/fstab.org /etc/fstab; rm /etc/fstab.org')
self.session.openWithCallback(self.updateList, DevicesConf)
def Unmount(self):