When using the boot cheatcode like "changes=EXIT:/somewhere/savefile.dat", I wonder if there is a option to let user choose whether to save the changes or not upon shutdown.
The pros of this option is that user could choose to discard all the changes made in the current session run.
Any advice how to do that ?
Thanks.
Options to save or not upon shutdown
- Ed_P
- Contributor
- Posts: 7915
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Options to save or not upon shutdown
Yup


Ed
Options to save or not upon shutdown
I'm new to Porteus, not awaring that there is 3 sec delay in the console.
Thanks.
- Ed_P
- Contributor
- Posts: 7915
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Options to save or not upon shutdown
We all were at some point.

The prompt also shows you how full your save.dat file is and allows you to exit without saving the save.dat file if it is overflowing.

Ed
- Rava
- Contributor
- Posts: 4914
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.0 x86_64 + 4.0 i586
- Location: Forests of Germany
Options to save or not upon shutdown
3 Seconds is very short, can that be changed?
E.g. to 10 seconds or 5 seconds?
Cheers!
Yours Rava
Yours Rava
- Ed_P
- Contributor
- Posts: 7915
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Options to save or not upon shutdown
If the file is too full an extra is 5 seconds it added and is in the rc.local_shutdown script. In that the decision is binary not too much time is needed.
Ed
Options to save or not upon shutdown
The 3 sec time out period can be changed by modifying the /mnt/live/cleanup. 
