I struggled to get 5.01 to shutdown without saving and now the rc.shutdown in 5.1 has changed. I've tried to make similar changes but nothing works. The text in 5.1 is different, the how to I used doesn't cross over.
USB Flash drive install.
Frustrated newbie
Love the PuP
rc.shutdown in 5.1
In Lucid 5.1.1
Opened the console and type:
geany /etc/rc.d/rc.shutdown
Scroll down about 3/4 of the page. I look for the number 13 on the left side. A few lines below that you should see:
#the above are in unionfs at /.
You need to add text on the next line so it looks like this when you’re done.
#the above are in unionfs at /.
dialog --yesno "Save this session?" 0 0 >/dev/console
if [ $? -eq 0 ]; then
echo "Saving session to $SAVEFILE (${SAVEPART})..." >/dev/console
/usr/sbin/snapmergepuppy /initrd/pup_ro1 /initrd/pup_rw
fi
;;
Don’t forget to save your mod when you close geany.
I always get a click through prompt on reboot about improper shutdown or such.
It’s never been a problem, anyone know about that. Curious for sure.
Opened the console and type:
geany /etc/rc.d/rc.shutdown
Scroll down about 3/4 of the page. I look for the number 13 on the left side. A few lines below that you should see:
#the above are in unionfs at /.
You need to add text on the next line so it looks like this when you’re done.
#the above are in unionfs at /.
dialog --yesno "Save this session?" 0 0 >/dev/console
if [ $? -eq 0 ]; then
echo "Saving session to $SAVEFILE (${SAVEPART})..." >/dev/console
/usr/sbin/snapmergepuppy /initrd/pup_ro1 /initrd/pup_rw
fi
;;
Don’t forget to save your mod when you close geany.
I always get a click through prompt on reboot about improper shutdown or such.
It’s never been a problem, anyone know about that. Curious for sure.