Artifact abc25b95c9ab5252adcbf53439a35942a63fad7caf8ebefe8c48123b4099c08d:
- File rc — part of check-in [97ff336c8d] at 2023-08-13 07:12:31 on branch trunk — Fix second run, now init is executred once (user: arcade, size: 389) [annotate] [blame] [check-ins using]
#!/sbin/sh -Tue -
stty status '^T'
trap : 2
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export PATH HOME
MAKEINIT="make -D AUTOBOOT -C /etc/mrc -k"
NCPU=$((`/sbin/sysctl -n hw.ncpu` + 1 ))
#MAKEDEBUG="-d -nelLx"
if mount -t tmpfs tmpfs /etc/mrc/tmp; then
${MAKEINIT} -j ${NCPU} ${MAKEDEBUG} -X TMPDIR=/etc/mrc/tmp && umount -f /etc/mrc/tmp
else
${MAKEINIT}
fi
echo ''
date
exit 0