Hi, people.
This is my first answer here, after searching on Google and finally here, without finding a solution (still).
I work as a hardware and software technician in various educative institutions, and I always build Puppy servers for the administrative sections, and for the informatic room.
Until now, I could do all what I needed with Puppy Linux (I always used the 'Slacko' edition), but I'm stucked this time.
Sometimes, some of the servers shutdowns improperly, and at reboot, Puppy does an automatic fsck. This is ok, like all of we knows, but there is a 4 minutes of delay before the automatic reboot of the system, and I want to reduce it to 30 seconds or less.
What is the file that I have to configure? Or, what is the procedure to follow to change the "4 minutes default value" for "30 seconds or less"?
Thanks beforehand, and it's a pleasure to can count with this great community.
Configure automatic fsck time at boot
-
- Posts: 3
- Joined: Wed 30 Mar 2016, 22:27
- Location: Uruguay
- Contact:
Configure automatic fsck time at boot
Last edited by hugonapoli on Fri 01 Apr 2016, 20:41, edited 1 time in total.
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
Edit the file /sbin/init. Search for the line
and change the 240 sec timeout to whatever you like.
Code: Select all
read -t 240 abcdef
-
- Posts: 3
- Joined: Wed 30 Mar 2016, 22:27
- Location: Uruguay
- Contact:
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
-
- Posts: 3
- Joined: Wed 30 Mar 2016, 22:27
- Location: Uruguay
- Contact:
Not me, my friendMochiMoppel wrote:Who could ask for more? Thanks.
Your tip was enough. I could do what I wanted. Thanks you so much!
Also, I can make a contribution.
The message telling that "The system will reboot in 4 minutes" is maintained despite the changes in the line suggested for MochiMoppel.
Then, we have to make another change besides that.
We have to found the line
Code: Select all
echo 'Computer will reboot in 4 minutes, else press ENTER for immediate reboot.'
The mentioned line will remain like this one:
Code: Select all
echo 'Computer will reboot in 10 seconds, else press ENTER for immediate reboot.'
Code: Select all
echo 'El ordenador se va a reiniciar en 10 segundos. Puedes presionar la tecla ENTER, para un reinicio inmediato.'
Thanks you again, MochiMoppel