1
0
Files
irix-657m-src/eoe/cmd/initpkg/inittab-mr
2022-09-29 17:59:04 +03:00

49 lines
2.1 KiB
Plaintext

# Copyright (c) 1984 AT&T
# All Rights Reserved
# THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
# The copyright notice above does not evidence any
# actual or intended publication of such source code.
#ident "@(#)initpkg:./inittab.sh 1.16"
#ident "$Revision: 1.36 $"
is:2:initdefault:
fs::sysinit:/etc/bcheckrc </dev/console >/dev/console 2>&1
mt::sysinit:/etc/brc </dev/console >/dev/console 2>&1
s0:0s:wait:/etc/rc0 >/dev/console 2>&1 </dev/console
of:0:wait:su root -C CAP_SHUTDOWN+ip -c "exec /sbin/uadmin 2 0" >/dev/console 2>&1 </dev/console # halt
s1:1:wait:su root -C CAP_SHUTDOWN+ip -c "exec /etc/shutdown -y -iS -g0" >/dev/console 2>&1 </dev/console
# setsid: does setsid(2) syscall, opens argv[1] 3 times and execv's argv+2.
# Useful mostly to set process group leader so ^C works.
# /etc/init avoids setpgrp() on :wait: and :bootwait: lines.
prei:2:bootwait:setsid /dev/console /etc/mrinitrc
prel:2:bootwait:setsid /dev/console /etc/mrlogrc start
prec:2:bootwait:setsid /dev/console /etc/mrcustomrc start
pref:2:bootwait:setsid /dev/console /etc/mrcustomrc fx
prek:2:bootwait:setsid /dev/console /etc/mrcustomrc mkfs
prem:2:bootwait:setsid /dev/console /etc/mrmountrc mntlocal
preo:2:bootwait:setsid /dev/console /etc/mrreorgrc reorg
preq:2:bootwait:setsid /dev/console /etc/mrlogrc move
pren:2:bootwait:setsid /dev/console /etc/mrnetrc start
prep:2:wait:setsid /dev/console /sbin/echo Invoking software installation.'\n'
inst:2:wait:setsid /dev/console /etc/mrinstrc
aftp:2:wait:setsid /dev/console /sbin/echo Preparing to restart system ...'\n'
aftc:2:wait:setsid /dev/console /etc/mrcustomrc stop
aftn:2:wait:setsid /dev/console /etc/mrnetrc stop
afto:2:wait:setsid /dev/console /etc/mrreorgrc cleanup
aftv:2:wait:setsid /dev/console /etc/mrvolhdrrc bootnorm
aftl:2:wait:setsid /dev/console /etc/mrlogrc stop
aftm:2:wait:setsid /dev/console /etc/mrmountrc unmntlocal
aftr:2:wait:setsid /dev/console /sbin/echo The system is being restarted.'\n'
aftu:2:wait:setsid /dev/console /sbin/su root -C CAP_SHUTDOWN+ip -c "exec /sbin/uadmin 2 1"
s2:3:wait:/etc/rc2 >/dev/console 2>&1 </dev/console
s3:3:respawn:setsid /dev/console /etc/restore_system