Amuled and /etc/init.d

Hi guys,
I’ve compiled the last version of amuled from svn and it seems to work. :smile:
Now I’d like to put a script in /etc/init.d so that it will start at boot but:

  • how can I sure the mauled will run after the USB HD, where I have my download folder, is mounted/ready?
  • how can I check the status of amuled? I copied a script that use:
    status_of_proc “$DAEMON” “$NAME” && exit 0 || exit $?
    but it doesn’t exit with 0 when the amuled is not working (ei: crashed)

Do you have a working script? :smile: