Author Topic: [cacko] Adding Startup Scripts In Rc.d Not Working  (Read 1669 times)

amatos

  • Newbie
  • *
  • Posts: 2
    • View Profile
[cacko] Adding Startup Scripts In Rc.d Not Working
« on: July 05, 2006, 09:35:23 pm »
Hi to all,

I've installed MoinMoin Wiki in Zaurus, and I tried to add a startup script
in rc.d, so that it starts automatically whenever I boot up. Unfortunately,
this doesn't seems to work in Cacko 1.23, and I cannot find where the
problem is.

This is what I did:

- Created a new script in /etc/rc.d/init.d, called moin. I've adapted
one of the existing scripts there. It is executable, with the right permisions,
and it runs correctly whenever I invoke it from the command line
(for instance, /etc/rc.d/init.d/moin start)

- Linked this file in /etc/rc.d/rc3.d, rc4.d and rc5.d with the name S42moin.

If I try to reboot, this script is never executed. I've added some commands there
to do some logging to a file, but this file is not created. So I guess the script is
not even being run in the first place.

Anyone knows what the problem could be? I don't really understand much about
linux startup scripts, so I may be doing quite a stupid mistake here.

Thanks a lot,

Artur.