Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where and how to set dependencies
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
yooda
n00b
n00b


Joined: 09 Dec 2003
Posts: 24
Location: Zurich, Switzerland

PostPosted: Fri Dec 12, 2003 1:15 am    Post subject: Where and how to set dependencies Reply with quote

Hi,

after having installed the oss-drivers for my soundcard and after having put the soundon script to

Code:

# 1. Copy this soundon script into the /etc/init.d directory
# 2. chmod +755 /etc/init.d/soundon
# 3. Enter this command at the prompt: rc-update add soundon default


I finally get the following messages on startup and shutdown

Code:

Dec 11 21:53:43 yooda rc-scripts: Could not get dependency info for "soundon"!
Dec 11 21:53:43 yooda rc-scripts: Please run:
Dec 11 21:53:43 yooda rc-scripts:   # /sbin/depscan.sh
Dec 11 21:53:43 yooda rc-scripts: to fix this.


/sbin/depscan.sh doesn't help, unfortunately, it just caches the dependencies, and on shutdown I get the messages above again, including the message "failed to calculate dependencies" on the next startup, followed by the message above again :(

The script just does

Code:

start() {

        ebegin "Starting OSS/Linux"
        /usr/lib/oss/soundon
            eend $? "Failed to start OSS/Linux"

}

stop() {

        ebegin "Stopping OSS/Linux"
        /usr/lib/oss/soundoff
            eend $? "Failed to stop OSS/Linux"

}


and executes successfully.

Does anybody know what I have to do that my system stops complaining about these dependencies? I think there shouldn't be any dependencies for this script, so where should I say that and in what way?
I just can't figure it out!
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