Re: Problem with getting automatically logged off during startup script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To followup, I tried replacing the end part of the
script with the following:

reply=none
until [ "$reply" = "REBOOT" -o "$reply" = "reboot" ]
do
	read -t 60 reply
done
reboot
exit 0
EOF

I thought since the script was going through an
continuous loop, this would not be considered being
idle so there would be no timeout. I'm no longer
waiting forever on the read command like in the
original. However, I still get the login screen after
1-2 hours.

BTW as you know you don't actually login to run the
rc.local script so my subject title could be titled
better. It could be the rc.local script is just given
a certain amount of time to run, after which it
continues with the boot process to the login prompt.
I'm not sure what the cause is...


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux