mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-07 14:35:48 +01:00
Update plugin.py
This commit is contained in:
@@ -842,7 +842,10 @@ class NeoBootImageChoose(Screen):
|
|||||||
|
|
||||||
if not fileExists('' + LinkNeoBoot + '/files/neo.sh'):
|
if not fileExists('' + LinkNeoBoot + '/files/neo.sh'):
|
||||||
getMountPointNeo()
|
getMountPointNeo()
|
||||||
|
|
||||||
|
if os.path.exists('/media/hdd/swapfile') or os.path.exists('/media/usb/swapfile') or os.path.exists('/swapfile'):
|
||||||
|
system('swapon -a')
|
||||||
|
|
||||||
if fileExists('/tmp/.init_reboot'):
|
if fileExists('/tmp/.init_reboot'):
|
||||||
system('rm /tmp/.init_reboot')
|
system('rm /tmp/.init_reboot')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user