atm2 (100280) | atm2 (104980) |
---|---|
1#!/bin/sh 2# 3# Copyright (c) 2000 The FreeBSD Project 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# | 1#!/bin/sh 2# 3# Copyright (c) 2000 The FreeBSD Project 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# |
27# $FreeBSD: head/etc/rc.d/atm2 100280 2002-07-18 05:00:17Z gordon $ | 27# $FreeBSD: head/etc/rc.d/atm2 104980 2002-10-12 10:31:31Z schweikh $ |
28# 29 30# PROVIDE: atm2 31# REQUIRE: atm1 network1 32# BEFORE: network2 33# KEYWORD: FreeBSD 34 35# --- 49 unchanged lines hidden (view full) --- 85 eval arp_args=\$atm_arp_${i} 86 atm add arp ${arp_args} 87 done 88 fi 89 90 # XXX - required by atm3.sh. I don't like having one script depend 91 # on variables in another script (especially in a dynamic 92 # ordered system like this), but it's necessary for the moment. | 28# 29 30# PROVIDE: atm2 31# REQUIRE: atm1 network1 32# BEFORE: network2 33# KEYWORD: FreeBSD 34 35# --- 49 unchanged lines hidden (view full) --- 85 eval arp_args=\$atm_arp_${i} 86 atm add arp ${arp_args} 87 done 88 fi 89 90 # XXX - required by atm3.sh. I don't like having one script depend 91 # on variables in another script (especially in a dynamic 92 # ordered system like this), but it's necessary for the moment. |
93 # | 93 # |
94 export atm_atmarpd 95 export atm_scspd 96} 97 98load_rc_config "XXX" 99 100case ${atm_enable} in 101[Yy][Ee][Ss]) 102 atm2_start 103 ;; 104esac | 94 export atm_atmarpd 95 export atm_scspd 96} 97 98load_rc_config "XXX" 99 100case ${atm_enable} in 101[Yy][Ee][Ss]) 102 atm2_start 103 ;; 104esac |