For those interested in having more control over saving to the pupsave file in frugal installations without editing shutdown scripts, you might be interested in "Save-pup-lock". It places a save icon on the desktop with several choices.pemasu wrote:Backi et al. I have now read and the optional save at shutdown is now more clear for me. It is intended when you boot in PUPMODE=13 aka pmedia=usbflash so that tmpfs is in top layer. It is not intended in normal frugal install in hdd aka PUPMODE=12.
Next thing, the optional save or not at shutdown should be done through /etc/rc.d/rc.shutdown script as scottman has showed. It means to modify snapmergepuppy row to have that Xdialog save or not.
Also if you shutdown without saving straight, there will be left /etc/.XLOADED file which means for puppy that you have done unclean shutdown and it performs fsck everytime, not bad thing, but every time, well....
And also you get info that you have shutdown uncleanly last time and you have to shut that box before it boots. So...you would need to remove .XLOADED and save that before you create the shutdown without saving....if you want to boot straight with out that stopping unclean shutdown message.
That rm /etc/.XLOADED could be in /etc/rc.d/rc.local file so that it will executed straight at bootup as last thing.
Anyway....that shutdown without saving is not the puppy way right now, it is more user preference and so it means hacking to the woof scripts to include it. I can include it as optional script, no more....
If you boot from a harddrive , you can force "PUPMODE=13" by using the boot code "pmedia=ideflash" and it will act as if it was booted from a thumbdrive and allow more flexibility in saving.
See here for more-
http://murga-linux.com/puppy/viewtopic.php?t=67341
Cheers,
s