2009
12.20

For my Areca 1210 raid card I wanted the “Utility” to run on startup. In Debian/Ubuntu this is really easy:

  1. Create the (startup) scrip; In my case this looked like this:
    #!/bin/bash
    #
    #  set -x;
    #
    cd /root;
    screen -d -m arc_http;
    
  2. Create a symlink to /etc/init.d/
    sudo ln -s ~/Documenten/bin/arc_http.sh /etc/init.d/
    
  3. Run the update-rc.d script
    sudo update-rc.d arc_http.sh defaults
    

If you want to remove the startup script for some reason you can do this by executing this command:

sudo update-rc.d -f arc_http.sh remove

Further reading:

No Comment.

Add Your Comment