mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04: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:
parent
b848e03260
commit
51f1dbba96
1 changed files with 3 additions and 3 deletions
|
|
@ -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:'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue