Skip to content

Linux at NC State

wiki support   search:

Boot Scripts

Another feature that mimics the Solaris Kit that the realm-hooks package provides is the ability to run custom boot scripts on a global and departmental level. This feature is rarely, if ever used but it is there.

System administrators can put a file called rc.boot in /afs/bp.ncsu.edu/system/i386_linux3/athena/config.DEPT/. (Once again, please substitute DEPT with your department string.) This sets up a departmental custom boot script. A global boot script can be placed in /afs/bp.ncsu.edu/system/i386_linux3/athena/config/. The departmental script is searched for and run before the global. Also, theses scripts do not replace any boot scripts already on the system, it is just an extra script that is executed at boot, or, more precisely, when the realm-cron services is started.