diff --git a/NeoBoot/files/devices.py b/NeoBoot/files/devices.py index 6b8cbaf..bfeccb6 100644 --- a/NeoBoot/files/devices.py +++ b/NeoBoot/files/devices.py @@ -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):