Dave Mielke wrote:

> It should work the way you've done it. Please do the following, and forward the
> output:
>
>     cd /etc/rc.d
>     ls */*<name> # where <name> is the name of your init script
>
> This will show the script and all of the symbolic links to it. Perhaps there's
> something wrong with them.

I've added -l to ls and got:

-rwxr-xr-x   1 root     root          984 Aug 27 16:32 init.d/atmd
lrwxrwxrwx   1 root     root           14 Aug 27 16:34 rc0.d/K91atmd ->
../init.d/atmd
lrwxrwxrwx   1 root     root           14 Aug 27 16:34 rc1.d/K91atmd ->
../init.d/atmd
lrwxrwxrwx   1 root     root           14 Aug 27 16:34 rc2.d/S09atmd ->
../init.d/atmd
lrwxrwxrwx   1 root     root           14 Aug 27 16:34 rc3.d/S09atmd ->
../init.d/atmd
lrwxrwxrwx   1 root     root           14 Aug 27 16:34 rc4.d/S09atmd ->
../init.d/atmd
lrwxrwxrwx   1 root     root           14 Aug 27 16:34 rc5.d/S09atmd ->
../init.d/atmd
lrwxrwxrwx   1 root     root           14 Aug 27 16:34 rc6.d/K91atmd ->
../init.d/atmd

So everything seems fine.
Stop at rc0, rc1 and rc6 with priority 91
Start at rc2, rc3, rc4 and rc5 with priority 9.

I've changed the priorities as you suggested

> [...] check that you've spelled
> "stop" correctly.

It's "stop":

[...]
      echo
        ;;
  stop)
        echo -n "Stopping atmarpd daemon:  "
        killproc atmarpd
        echo
        echo -n "Stopping ilmid daemon:  "

[...]


> You might also wish to try manually invoking it with the stop
> option just to make sure that it's working as expected.

Yes, when I invoke it manually, all works fine.


Thanks for all your trouble...

Pedro Brand�o

Reply via email to