::sysinit:/bin/mount -t proc proc /proc
::sysinit:/bin/mount -t sysfs sysfs /sys
::sysinit:/bin/mount -t devtmpfs devtmpfs /dev
# Unix98 PTYs. devtmpfs supplies /dev/ptmx, but openpty(3) also needs the slave
# side under /dev/pts, so sshd cannot allocate a terminal until devpts is
# mounted. The mount point is created after devtmpfs so it is not shadowed.
# Only devpts' own options are listed here: BA6's mount passes -o straight
# through as filesystem data, so nosuid/noexec would be rejected as unknown.
::sysinit:/bin/mkdir -p /dev/pts
::sysinit:/bin/mount -t devpts -o gid=5,mode=620,ptmxmode=666 devpts /dev/pts
::sysinit:/bin/ln -s /proc/self/fd /dev/fd
::sysinit:/bin/ln -s /proc/self/fd/0 /dev/stdin
::sysinit:/bin/ln -s /proc/self/fd/1 /dev/stdout
::sysinit:/bin/ln -s /proc/self/fd/2 /dev/stderr
::sysinit:/usr/sbin/tayra-sshd-keygen
console::respawn:/bin/login
# sshd logs to stderr because the base system has no syslog daemon; keeping it
# off the console leaves the interactive login readable.
::respawn:/usr/sbin/sshd -D -e >>/var/log/sshd.log 2>&1
# Cronie must stay in the foreground for BA6 init to supervise it.  Mail is
# deliberately disabled: the base image has neither a mail transfer agent nor
# a syslog daemon, so scheduled commands should redirect their own output.
::respawn:/usr/sbin/crond -n -m off >>/var/log/crond.log 2>&1
