Set order of startup scripts

Asked

Viewed 201 times

2

I’ve been using So Linux Ubuntu since version 7.04, but I’ve used other distros before, and I realize that with each version something changes inexplicably, things that often get in the way. My problem is this, I have some servers with the server version 8.04lts, and at their startup I set in rc.local a script that did some tests and showed the result before presenting the login screen, the same was on the screen, ex. , internet connection tests and others, in case of problem the user looked at the server screen when turning on and would see that when starting something wrong happened, it worked perfectly well, because in the order of boot of the version cited rc.local was the last boot file to be executed, but with version 12.04 going forward that changed, rc.local runs in the middle of the process, so the result of my script swipes and n stays on the screen, this way it is not functional for me, would like to know how to make rc.local be the last one to run on So Linux Ubuntu Server 14.04lts startup. Can you help me?

  • 1

    For those of you who are voting to close, I ask you to comment on why. This question is not at all wide, in fact it is quite straightforward: how to make a script run last on Ubuntu boot.

  • 1

    @mgibsonbr, he wants to execute the script in a certain period. (After all the rest of the process occurs) but to define the order of the scripts of a Sistema GNU/Linux (the question/title) is something extremely comprehensive in my opinion and so I voted to close.

  • 1

    Just to try to help, I believe these links will be quite useful: man boot and the boot organizer insserv. Again: explain both seems to me quite broad for a question in this style QA/PR.

  • It really is a direct question, but how could it be interpreted in various ways, as has been happening, I had to tell a story before going straight to the point, but really as they said and say in passing a great summary, what I want is: "make a script run last on Ubuntu 14.04lts server boot". Thank you for the answers...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.