woof-CE icon indicating copy to clipboard operation
woof-CE copied to clipboard

Just a a thought: Move shutdown setup on initrd boot

Open rizalmart opened this issue 3 years ago • 0 comments

I noticed that the way Puppy shuts down does not played well on ConsoleKit2, display managers, and other login managers. Because those programs are expected to execute process straight away without user interaction on the console. The solution for this problem was run shutdowngui upon first boot to decide whether the user to save the current session upon shutdown or not. It just simply creates a result file much like the normal shutdowngui which gives the instruction on /etc/rc.d/rc.shutdown to perform save session

It is also applicable on odd numbered PUPMODE which cached the pup_rw first before saving on the save file if the user choose manual mode on periodic save.

However the biggest drawback was PUPMODE 77 will be dropped because it has user interaction upon shutdown instead of continous execution unless created a workaround for user interaction upon shutdown.

rizalmart avatar Dec 10 '21 11:12 rizalmart