Artifact dc824dad4c0b60784680e237db79fa65ac30685126a3a72845fb15122b0850d4:
- File rc.shutdown — part of check-in [f49abe7565] at 2024-12-29 09:49:18 on branch trunk — Number of small changes: - fixed syntax a little; - ipv6 routing; - possible CPU microcode update bug; - cleaned up mounting FS RW; - changed how mixer works; - check errors on pf load; - change how wlans are created; - pock udevd to show socket and pid after FS mounts; - fix killing stopped service (I hope for the last time); - add delay and message on shutdown when something fails. (user: arcade, size: 452) [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" mount -t tmpfs tmpfs /etc/mrc/tmp && ${MAKEINIT} -j ${NCPU} ${MAKEDEBUG} -X TMPDIR=/etc/mrc/tmp EXIT && umount /etc/mrc/tmp ||\ { echo EXIT failed repeating nonparallel in 10 seconds ; sleep 10 ; ${MAKEINIT} EXIT ; } echo '.' exit 0