PupsaveConfig-2.2.5

A home for all kinds of Puppy related projects
Message
Author
nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#106 Post by nooby »

jemimah wrote:One thing I always add to the shutdown script is "rfkill unblock all". Most puppies have rfkill support disabled so it doesn't matter for them. But Fluppy and I think some of Iguleder's, and Pemasu's puplets have it enabled.

The problem is if you shutdown with RF blocked, it actually disables the NIC in the BIOS. If the next OS you boot isn't RF-switch aware, the networking hardware on some machines will not be properly detected during boot.
Shinobar, this post by Jemimah is most important to me. If you have applied it then apology my lack of attention to details but I fail to see any response to it and I use Pemasu's Snow puppy and that one uses RFKILL and so on. So this is a must have for us who do Snow puppy
I use Google Search on Puppy Forum
not an ideal solution though

nancy reagan
Posts: 544
Joined: Thu 22 Jan 2009, 14:20

saves, while telling -not to

#107 Post by nancy reagan »

Hi Shino,

As you were not much around anymore, because of the disaster ?, I did not post earlier.

It seems that when I tell 1.9.9d "not to save" it still saves.

E.g. in Lupu 5.2.8 SqueezeX3 ec., while it works properly in 540

http://smokey01.com/stu90/

Any idea how I could solve this ? something something /etc/rc.x /xxx ?

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#108 Post by backi »

HI FOLKS !
Experienced the same problems like nancy reagen.
Tried a lot of advices with no real success.
This whole topic causes me a lot of headaches.
It realy drives me crazy.
Will i ever find a simple method of "shutdown (to USB) without save" ?

Cheers

nancy reagan
Posts: 544
Joined: Thu 22 Jan 2009, 14:20

Exprimo ?

#109 Post by nancy reagan »

backi wrote:HI FOLKS !
Experienced the same problems like nancy reagen.
Tried a lot of advices with no real success.
This whole topic causes me a lot of headaches.
It realy drives me crazy.
Will i ever find a simple method of "shutdown (to USB) without save" ?

Cheers
Though haven't tried yet but thought read today Exprimo cares for this (at your request ?)

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#110 Post by backi »

Hi Folks !
Shut down with no saving.
Used this script in dpupexprimo and Three Headed Dog :

#!/bin/sh
# skips rc.shutdown and powers off computer without saving the session.
Xdialog --title "script $0" --yesno "\n\nAre you sure to power-off computer WITHOUT saving?\n\n" 0 0
[ $? -eq 0 ] && rm /initrd/pup_ro1/etc/.XLOADED && rm /etc/.XLOADED
exec /bin/busybox poweroff


In DpupExprimo you find it here:

" /root/my-applications/bin/nosaveshutdown script has been included since the Exprimo you first time posted about your need. It works as it works. "

Does work so far Shutdown without save, but not in every case.
Try to explain what i experienced.

For example: installed Iron-13 pet >shutdown with no save option (fast shutdown)
after restart- bootup this programm-browser still there (despite shutting down with no save)
For example installed an opera deb >shutdown with no save option (fast shutdown)
after restart- bootup this programm-browser still there (despite shutting down with no save)
(this programms don't appear as installed in PPM- if this may give some information)

Then did a test installing an hpprinter driver pet (indicated as installed in PPM) or made changes remove builtin packages then
>shutdown with no save option (fast shutdown)
after restart- bootup this installation-changes are not saved

Another example: making a text file saving it as dokument
>shutdown with no save option (fast shutdown)
after restart- bootup this saving is gone.

My thinking is i am running in ram and >shutdown with no save option (fast shutdown) will eliminate all changes during session.

Why these above mentioned pets and debs (there are others too) surpass
>shutdown with no save option (fast shutdown) ?
how do the manage to go to my USB despite>shutdown with no save option (fast shutdown) and other pets or debs don't ?


Quite curious.
Somehow these above mentioned pets and debs and others too ,manage to go to my USB stick despite >shutdown with no save option
Some others don't.

I'ḿ quite confused.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

PPM and no save

#111 Post by shinobar »

backi wrote:Does work so far Shutdown without save, but not in every case.
Try to explain what i experienced.

For example: installed Iron-13 pet >shutdown with no save option (fast shutdown)
after restart- bootup this programm-browser still there (despite shutting down with no save)
The problem is the Puppy Package Manager does not know your 'no save' setting, and installs the files directly to the pupsave regardless your setting.
More problem is, the list of the installed files at /root/.package is not saved unless you manually save the session with pressing the 'save' icon.
Thus, the installed package will not be listed on the PPM after next reboot, and you cannot uninstall it anymore.

We need to modify the PPM to see the 'no save' setting, if you install packages but not want them to be saved.

Or, I recommend you use sfs instead of pet if you want to use additional applications temporally.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#112 Post by Jim1911 »

Hi shinobar,

Just tried this on THD 529. It works great, my only regret is that I haven't tried it earlier. Love it especially the ability to create a 4fs save file. I will be trying it on all pups that I install.

Thanks again for your fine applications,
Jim

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#113 Post by backi »

Hi SHINOBAR !

Did not look look for a while into this topic here.did not to expect for anybody to answer. thanks for your help.
But want to make one thing clearer (maybe it could make a difference).

Those pets and debs (Iron ) ,did not install them via PPM .
I have already download them and have them as a collection (on harddrive).
I just clicked them . not installed with PPM. (maybe it could make a differen ce for your diagnosis) .
In Macpup ...doing the same (shutting down with "no save " option ) .... it works .....no save.
What makes the difference ?

Cheers.

nancy reagan
Posts: 544
Joined: Thu 22 Jan 2009, 14:20

Re: PPM and no save

#114 Post by nancy reagan »

shinobar wrote:
We need to modify the PPM to see the 'no save' setting, if you install packages but not want them to be saved.

Or, I recommend you use sfs instead of pet if you want to use additional applications temporally.
Hi Shino,

Had some trouble with this app as well. Now using it in Stu90 lupu540 (or something)

Read some where that if you do "save setting -during- " sessions it might get messed up.

So now -if- I want to save I only do it at shutdown.

And yes they are listed in the PPM ....

Maybe it has got something to do with the puppy version where you're in ?

@ Backi Barry Kauler made also a pet, see cutting edge forum.(It is in Slacko b4)

I wonder why not earlier and more people asked for this possibility.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

PPM and nosave

#115 Post by shinobar »

backi wrote:Those pets and debs (Iron ) ,did not install them via PPM .
I have already download them and have them as a collection (on harddrive).
I just clicked them

They are the same script dotpup.
backi wrote:In Macpup ...doing the same (shutting down with "no save " option ) .... it works .....no save.
What makes the difference ?
I have not yet checked Macpup, but it depends on the version of PPM/dotpup.
The problem occurs with the recent version of PPM/dotpup.
Old version does install on ram, but new one saves directly to pupsave.
It is a new function for small ram PC.

One of the solution is killing this new function (direct to pupsave).
Last edited by shinobar on Sun 30 Oct 2011, 02:39, edited 2 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
runtt21
Posts: 1649
Joined: Sun 08 Jun 2008, 02:43
Location: BigD Texas
Contact:

#116 Post by runtt21 »

The installpkg.sh script in Macpup has been modified. We had to do that back in MP520 to get around a bug in that version of efreet.

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#117 Post by backi »

HI shinobar !

Thanks for your suggestions .
This intalling pets to ram in older versions, or installing directly to pupsave in newer ones , gives me an explanation for all these things.
Caused me a lot of headeaches this topic .
nobody before could give me a logical reason for this .
Now i `m feeling more relieved.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

pupsaveconfig-2.0

#118 Post by shinobar »

Released pupsaveconfig-2.0.pet as the stable.

As for the PPM messing up with save interval=0 under PUPMODE=13,
Visit the PPM topic:
http://www.murga-linux.com/puppy/viewtopic.php?t=73829
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

einar
Posts: 161
Joined: Fri 12 Nov 2010, 12:22

Problems with LH64 514

#119 Post by einar »

pupsaveconfig is not working / freezes under install on the new LH 64 514. It makes the system unresponsive when i try to do somthing. i have to CTRL ALT Backspace to shutdown. And it wont do that properly, freezes after save.

Do i need a 64Bit version ? i use this .pet in every puplet and i think i used it in LH, 511,512 and 513. Not sure as my memory is troubeling at best. But pupsaveconfig is the first pet i install on a pup and this is the first time it doesnt work.

im sorry for my ramblings.

BR

Einar

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: Problems with LH64 514

#120 Post by shinobar »

einar wrote:Do i need a 64Bit version ?
No. The pupsaveconfig has no binary codes.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

pupsaveconfig-2.0.1

#121 Post by shinobar »

pupsaveconfig-2.0.1.pet, sync with woof2 2012-01-03.
See the top post.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
grimoire
Posts: 72
Joined: Mon 05 Jul 2010, 01:55

Re: pupsaveconfig-2.0.1

#122 Post by grimoire »

This one works well in lucid 5.28! :)

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#123 Post by jemimah »

Would it be possible to get a patch file for the mods you make to rc.shutdown? I want to add this to saluki, but it's very difficult to keep sync with woof without the original patch. Thanks!

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

rc.shutdown patch

#124 Post by shinobar »

jemimah wrote:Would it be possible to get a patch file for the mods you make to rc.shutdown? I want to add this to saluki, but it's very difficult to keep sync with woof without the original patch. Thanks!
@jemimah
Take the attached, but...

It is difficult to maintain with a patch because the rc.shutdown of pupsaveconfig is far from the original.
Maybe there is another difficulty in woof build after Barry introduced his shutdownconfig.

But i always look up the latest rc.shutdown in woof(2) and try to merge.
Everytime I make a diff and merge them manually.
See the comment both of woof and pupsaveconfig.

The pupsaveconfig-2.0.1 syncs with the woof2 at 2012-01-03

Code: Select all

#120103 karl godt: error unmounting stray partitions. 120103 karl godt: more tweaks.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#125 Post by jemimah »

Thanks. It does seem quite difficult to figure out how to maintain. I will test it.

Post Reply