Which order for scripts in /root/Startup
Which order for scripts in /root/Startup
Hello there !
I'm rather new to lucid puppy, and I have one question about scripts that I put in /root/Startup.
Are they executed in a certain order ?
Is there an alphabetical order or something ?
How can I find it by myself ?
Is there a logfile where everything is written during boot ?
Because my puppy is on a usb key and I have to mount a data partition during boot-up, and the other scripts require that this very partition is mounted first.
For the moment it seems to work but I would like to know.
Thank you very much for your help, and forgive me for my bad english.
Good day !
I'm rather new to lucid puppy, and I have one question about scripts that I put in /root/Startup.
Are they executed in a certain order ?
Is there an alphabetical order or something ?
How can I find it by myself ?
Is there a logfile where everything is written during boot ?
Because my puppy is on a usb key and I have to mount a data partition during boot-up, and the other scripts require that this very partition is mounted first.
For the moment it seems to work but I would like to know.
Thank you very much for your help, and forgive me for my bad english.
Good day !
-
- Posts: 76
- Joined: Fri 23 Jan 2009, 14:59
- Location: California
Re: Which order for scripts in /root/Startup
Try this:Sathors wrote:Hello there !
I'm rather new to lucid puppy, and I have one question about scripts that I put in /root/Startup.
Are they executed in a certain order ?
Is there an alphabetical order or something ?
How can I find it by myself ?
Is there a logfile where everything is written during boot ?
Because my puppy is on a usb key and I have to mount a data partition during boot-up, and the other scripts require that this very partition is mounted first.
For the moment it seems to work but I would like to know.
Thank you very much for your help, and forgive me for my bad english.
Good day !
Bring up the terminal
Code: Select all
cd Startup
ls *
-
- Posts: 76
- Joined: Fri 23 Jan 2009, 14:59
- Location: California
it is the "*" part that mattersSathors wrote:Thank you for the answers !
Do you think that the execution of these scripts is triggered by the init script in /etc/rc.d/rc.sysinit ?
And by the way why are there so many scripts in /etc/rc.d ?
Which ones are launched and which ones aren't ?
I'll have a look at it to check wether it uses a ls *.
consider the command:
Code: Select all
for AA in * ; do
echo "bla bla $AA"
done
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
The scripts in "/root/Startup/" are run by this script "/usr/sbin/delayedrun".
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact: