[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

init.d: writing custom init-scripts



Hello everyone,

i got a simple problem but cannot fint the cause: i have written a
custom bash script (a very simple one) that should be run on machine
startup. I put it under the common place /etc/init.d/myscript

Then, i placed a symlink called S99myscript pointing to the script under
/etc/rc3.d, however, it does not get stalled. The symlink and the script
got the same rights and user/group as all the other ones from sid and my
one is the only one that does not work.

When running the script manually as user root, it succeedes, but it is
not run by the init deamon on machine startup.

Are there any special aspects to keep in mind when creating init
scripts?

greetings,

Timo





Reply to: