1#!/bin/sh 2#
| 1#!/bin/sh 2#
|
3# $FreeBSD: head/etc/rc.d/archdep 165664 2006-12-30 22:53:20Z yar $
| 3# $FreeBSD: head/etc/rc.d/archdep 165683 2006-12-31 10:37:18Z yar $
|
4# 5 6# PROVIDE: archdep 7# REQUIRE: mountcritremote 8# KEYWORD: nojail 9 10. /etc/rc.subr 11 12name=archdep 13start_cmd="archdep_start" 14stop_cmd=":" 15 16# SCO binary emulation 17# 18ibcs2_compat() 19{ 20 if checkyesno ibcs2_enable; then 21 echo -n ' ibcs2'
| 4# 5 6# PROVIDE: archdep 7# REQUIRE: mountcritremote 8# KEYWORD: nojail 9 10. /etc/rc.subr 11 12name=archdep 13start_cmd="archdep_start" 14stop_cmd=":" 15 16# SCO binary emulation 17# 18ibcs2_compat() 19{ 20 if checkyesno ibcs2_enable; then 21 echo -n ' ibcs2'
|
22 kldload ibcs2 > /dev/null 2>&1
| 22 load_kld ibcs2
|
23 case ${ibcs2_loaders} in 24 [Nn][Oo]) 25 ;; 26 *) 27 for i in ${ibcs2_loaders}; do
| 23 case ${ibcs2_loaders} in 24 [Nn][Oo]) 25 ;; 26 *) 27 for i in ${ibcs2_loaders}; do
|
28 kldload ibcs2_$i > /dev/null 2>&1
| 28 load_kld ibcs2_$i
|
29 done 30 ;; 31 esac 32 fi 33} 34 35archdep_start() 36{
--- 14 unchanged lines hidden --- | 29 done 30 ;; 31 esac 32 fi 33} 34 35archdep_start() 36{
--- 14 unchanged lines hidden --- |