Add script to default run level

/ Published in: Bash
Save to your folder(s)

Run this command to add an /etc/init.d/ startup script to start at os bootup.

Copy this code and paste it in your HTML
  1. sudo /usr/sbin/update-rc.d -f <name of script> defaults

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.