git: rc.d: Use stop_boot() function to really stop boot
Aaron LI
aly at crater.dragonflybsd.org
Fri Jun 21 09:33:09 PDT 2019
commit e13ee828096647df4f100b1fe311a8f091c6b419
Author: Aaron LI <aly at aaronly.me>
Date: Sat Jun 22 00:07:06 2019 +0800
rc.d: Use stop_boot() function to really stop boot
The rc.d scripts are executed in sub-shells, so the original 'exit'
would not stop the boot process. Use the stop_boot() function in
rc.d/mountcritlocal and rc.d/root to really stop the boot process.
Obtained-from: FreeBSD
Summary of changes:
etc/rc.d/mountcritlocal | 5 ++---
etc/rc.d/root | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e13ee828096647df4f100b1fe311a8f091c6b419
--
DragonFly BSD source repository
More information about the Commits
mailing list