Reference

rc.local(5)

directory for local or per-package boot scripts.

Part of rc.boot(5).

NAME

/etc/rc.boot - directory for local or per-package boot scripts.

DESCRIPTION

At boot time the directory /etc/rc.boot is scanned by the program run-parts(8). The scripts found that have valid filenames for the run-parts program will be run in lexical sort order of the filenames.

EXAMPLES

If you want to run the hdparm program at boot time to set parameters of the IDE driver, you'd normally stick a line in the /etc/rc.local file. On debian however this file does not exist. Instead, you put a script in the /etc/rc.boot directory like this:

#! /bin/sh
echo "Running hdparm.."
hdparm -u 1

This script could be named hdparm and should have mode 0755.

SEE ALSO

run-parts(8), init(1).