Newer
Older
ubixos / Dump / hybos / src / etc / rc
@Christopher W. Olsen Christopher W. Olsen on 5 Nov 2018 601 bytes Sync
# This file performs various system initializations.

umask 022
PATH=/usr/local/bin:/bin:/usr/bin
export PATH

# National keyboard?
test -f /etc/keymap && loadkeys /etc/keymap

# Set timezone.  (If the clock tells GMT then put this after 'date'.)
. /etc/profile

# Try to read the hardware real-time clock, if there is one, to set the date
date `readclock`

# Initialize files.
printroot >/etc/mtab			# /etc/mtab keeps track of mounts
>/etc/utmp				# /etc/utmp keeps track of logins

# /etc/fstab lists the root, tmp and usr devices.
. /etc/fstab

# Any messages?
test -f /etc/issue && cat /etc/issue