yooda n00b
Joined: 09 Dec 2003 Posts: 24 Location: Zurich, Switzerland
|
Posted: Fri Dec 12, 2003 1:15 am Post subject: Where and how to set dependencies |
|
|
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! |
|