abi (165664) | abi (179930) |
---|---|
1#!/bin/sh 2# | 1#!/bin/sh 2# |
3# $FreeBSD: head/etc/rc.d/abi 165664 2006-12-30 22:53:20Z yar $ | 3# $FreeBSD: head/etc/rc.d/abi 179930 2008-06-22 16:19:50Z mtm $ |
4# 5 6# PROVIDE: abi 7# REQUIRE: archdep 8# KEYWORD: nojail 9 10. /etc/rc.subr 11 --- 28 unchanged lines hidden (view full) --- 40svr4_start() 41{ 42 echo -n ' svr4' 43 load_kld -m svr4elf svr4 44} 45 46abi_start() 47{ | 4# 5 6# PROVIDE: abi 7# REQUIRE: archdep 8# KEYWORD: nojail 9 10. /etc/rc.subr 11 --- 28 unchanged lines hidden (view full) --- 40svr4_start() 41{ 42 echo -n ' svr4' 43 load_kld -m svr4elf svr4 44} 45 46abi_start() 47{ |
48 echo -n 'Additional ABI support:' | 48 local _echostop |
49 | 49 |
50 _echostop= 51 if checkyesno sysvipc_enable || checkyesno linux_enable || checkyesno svr4_enable; then 52 echo -n 'Additional ABI support:' 53 _echostop=yes 54 fi 55 |
|
50 checkyesno sysvipc_enable && sysv_start 51 checkyesno linux_enable && linux_start 52 checkyesno svr4_enable && svr4_start 53 | 56 checkyesno sysvipc_enable && sysv_start 57 checkyesno linux_enable && linux_start 58 checkyesno svr4_enable && svr4_start 59 |
54 echo '.' | 60 [ -n "${_echostop}" ] && echo '.' |
55} 56 57load_rc_config $name 58run_rc_command "$1" | 61} 62 63load_rc_config $name 64run_rc_command "$1" |