Script on startup without update-rc.d
        Posted  
        
            by 
                Jean-Philippe Blary
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Jean-Philippe Blary
        
        
        
        Published on 2012-11-04T14:55:29Z
        Indexed on 
            2012/11/04
            17:04 UTC
        
        
        Read the original article
        Hit count: 310
        
I've a debian minimal installation, and I just want to start a script at startup.
So, I've a script at /etc/init.d/myscript, I put a chmod 700, and create symlinks ('S20myscript') into /etc/rc2.d, rc3.d, rc4.d and rc5.d. But the script is NOT launched at all.
When I put 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 /erc/rc.local).
Thanks!
© Server Fault or respective owner