The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 06-19-2009
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 366
what does S99local correspond to? The distro I use, SUSE, has boot.local, which takes the place of rc.local for them, and it is executed before a runlevel is reached.

---------- Post updated at 11:11 AM ---------- Previous update was at 10:55 AM ----------

An introduction to services, runlevels, and rc.d scripts

If this all still sounds a bit too complicated, you can instead simply make use of the /etc/rc.d/rc.local file. This script file is run once, before all other scripts have run but before the logon prompt appears. By default it looks something like:

#!/bin/bash## /etc/rc.local - run once at boot time

# Put any local setup commands in here: