Should be looking for reboot, not the other way around
This commit is contained in:
parent
438e94f356
commit
8ff4867bc8
|
|
@ -212,7 +212,7 @@ if __name__ == '__main__':
|
|||
entry.write('options cryptdevice=UUID={UUID}:luksdev root=/dev/mapper/luksdev rw intel_pstate=no_hwp\n'.format(UUID=UUID))
|
||||
|
||||
o = run('umount -R /mnt')
|
||||
if args['post'] != 'stay':
|
||||
if args['post'] == 'reboot':
|
||||
o = run('reboot now')
|
||||
else:
|
||||
print('Done. "reboot" when you\'re done tinkering.')
|
||||
|
|
|
|||
Loading…
Reference in New Issue