diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index 2f6a2d3..2385d8b 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -842,7 +842,10 @@ class NeoBootImageChoose(Screen): if not fileExists('' + LinkNeoBoot + '/files/neo.sh'): 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'): system('rm /tmp/.init_reboot')