This shows you the differences between two versions of the page.
debian_rc.local_equivalent [2007/03/30 12:10] adam created |
debian_rc.local_equivalent [2016/11/25 22:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Debian rc.local Equivalent ===== | ||
- | |||
- | Taken from [[http:// | ||
- | |||
- | In many distributions you can add commands to run certain programs at the end of the boot process after all system services have been started into the / | ||
- | |||
- | Create a file named local in / | ||
- | |||
- | #!/bin/bash | ||
- | # Add all the scripts to run after system startup | ||
- | / | ||
- | |||
- | Make the file executable. And then do the following, to create the necessary entries in /etc/rc*.d/ | ||
- | |||
- | root@ramhome:/ | ||
- | |||
- | You should be seeing something like this: | ||
- | |||
- | Adding system startup for / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | |||