1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

Improve rc.d conformance:

- don't play a needless trick with prestart, just use start method;
- provide no-op stop method so that we don't get bogus "abi not running" error.
This commit is contained in:
Yaroslav Tykhiy 2006-12-20 11:37:15 +00:00
parent b848e03260
commit 51f1dbba96
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165378

View File

@ -10,8 +10,8 @@
. /etc/rc.subr
name="abi"
start_precmd="${name}_prestart"
start_cmd=":"
start_cmd="${name}_start"
stop_cmd=":"
sysv_start()
{
@ -41,7 +41,7 @@ svr4_start()
load_kld -m svr4elf svr4
}
abi_prestart()
abi_start()
{
echo -n 'Additional ABI support:'