Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Custom script run order
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
loonix
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2004
Posts: 98
Location: Barrie, Ontario, Canada

PostPosted: Tue Apr 05, 2005 6:02 pm    Post subject: Custom script run order Reply with quote

Hi:

I have created a custom script that I would like to run early in the boot process.

Even though I am setting the depend settings with before and after variables, the script still only runs as the last script.

I read http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4#doc_chap4 but with no success.

I am getting dependency errors now and am asked to run depscan.sh. I ran depscan.sh but it did not fix the issues.

Thanks

AR
Back to top
View user's profile Send private message
mens
Guru
Guru


Joined: 27 Aug 2003
Posts: 392
Location: Belgium

PostPosted: Tue Apr 05, 2005 7:22 pm    Post subject: Reply with quote

Can you post the script?
Back to top
View user's profile Send private message
loonix
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2004
Posts: 98
Location: Barrie, Ontario, Canada

PostPosted: Tue Apr 05, 2005 7:34 pm    Post subject: Reply with quote

http://www.loonix.ca/files/autoconf
Back to top
View user's profile Send private message
mens
Guru
Guru


Joined: 27 Aug 2003
Posts: 392
Location: Belgium

PostPosted: Tue Apr 05, 2005 8:08 pm    Post subject: Reply with quote

first line should read #!/sbin/runscript instead of #!/bin/runscript (unless you manually copied runscript in /bin)
Fix this first, if it doesn't solve it come back, I'll look into the script itself then
Back to top
View user's profile Send private message
loonix
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2004
Posts: 98
Location: Barrie, Ontario, Canada

PostPosted: Tue Apr 05, 2005 8:23 pm    Post subject: Reply with quote

You the man.

Thank you!

AR
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum