Click to See Complete Forum and Search --> : What is the file for startup commands...


dnendzd
04-18-2006, 10:06 PM
Sorry if this isn't the right forum :( I used the search, and didn't come up with anything (could either be due to no ideal what to put in the search - tried start-up, startup config.. or my huge migraine :) )

Anyways, I installed NDAS so I can use my netdisk from linux, but it looks like it put an invalid command in the startup, it displays: Uknown request /etc/init.d/ndas
usage: /sbin/ec [start:stop]

I know how to fix it.. I just don't know where to fix it :)

Thanks :)

As a side note, whats the justlinux irc server/channel

happybunny
04-18-2006, 10:12 PM
irc.freenode.net #justlinux

i don't know what ndas is, but normally if it is a service that starts at boot it should be in an /etc/init.d/rc(?).d/ script.

cybertron
04-19-2006, 11:41 AM
It looks like the file is /etc/init.d/ndas, which should just be a shell script. You can take a look in that and see if you can find the /sbin/ec command that it seems to be referring to.

knute
04-19-2006, 01:36 PM
The file for startup commands would differ with distro.

RPM based systems would have an /etc/init.d/rc(?).d/ script.

However, a gentoo machine is configured with rc-update.

With debian, you can go into the runlevel directories and change the symlinks. (I think that there's a tool for that as well, but I never bothered to use it when I was running debian. :D)

So, what distro are you using anyway?