Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rc.bsd(8) — Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cron(1)

uucp(1C)

inetd(8C)

rwhod(8C)

routed(8C)

RC(8)

NAME

rc − boot time shell script

USAGE

[cps] /etc/run_rc

DESCRIPTION

Run_rc performs a setuid to “root” and runs the shell script ‘node_data/etc.rc.  This script initializes /tmp and /usr/tmp and optionally starts various daemons (e.g., inetd, lpd, and so on). 

Edit the script to tailor it for the node on which it is installed. 

This script usually runs at boot time.  If you include the following line in your DM startup file: cps /etc/run_rc

etc.rc will be run every time you reboot your node. 

NOTE

The /etc/rc file is a variant link, which resolves to ‘node_data/etc.rc. 

NOTES TO DOMAIN/IX USERS

Beginning at SR9.5, the ‘node_data/etc.rc must be owned by root, and have the setuid bit set.  The run_rc program can execute a user-created file, ‘node_data/etc.rc.local, which may contain commands that do not need to run as root. 

FILES

/etc/run_rc program that runs ‘node_data/etc.rc

/sys/node_data/etc.rc boot time shell script that runs as root

/sys/node_data/etc.rc.local
boot time shell script for user commands

/etc/rc link to ‘node_data/etc.rc

/etc/rc.local link to ‘node_data/etc.rc.local

RELATED INFORMATION

cron(1) uucp(1C) inetd(8C) rwhod(8C) routed(8C)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026