I've a debian minimal installation, and I just want to start a custom script at startup.
- I've a script at /etc/init.d/myscript,
I put a
chmod 700
, and create symlinks toS20myscript
into :/etc/rc2.d /etc/rc3.d /etc/rc4.d /etc/rc5.d
But then, script is NOT launched at all on startup.
When I use this script with update-rc.d
(or insserv
...), it works.
I don't understand, am I forced to use this command?
(and no, I don't want to use /etc/rc.local
).