Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 78495 | Differences between
and this patch

Collapse All | Expand All

(-)runscript.sh (-2 / +11 lines)
Lines 1-7 Link Here
1
#!/bin/bash
1
#!/bin/bash
2
# Copyright 1999-2005 Gentoo Foundation
2
# Copyright 1999-2005 Gentoo Foundation
3
# Distributed under the terms of the GNU General Public License v2
3
# Distributed under the terms of the GNU General Public License v2
4
# $Header: /var/www/www.gentoo.org/raw_cvs/gentoo-src/rc-scripts/sbin/runscript.sh,v 1.44.2.4 2005/01/30 19:40:23 vapier Exp $
4
# $Header: /var/www/www.gentoo.org/raw_cvs/gentoo-src/rc-scripts/sbin/runscript.sh,v 1.44.2.5 2005/04/08 17:16:29 uberlord Exp $
5
5
6
# Common functions
6
# Common functions
7
[[ ${RC_GOT_FUNCTIONS} != "yes" ]] && source /sbin/functions.sh
7
[[ ${RC_GOT_FUNCTIONS} != "yes" ]] && source /sbin/functions.sh
Lines 39-45 Link Here
39
	IFACE=
39
	IFACE=
40
	NETSERVICE=
40
	NETSERVICE=
41
fi
41
fi
42
		
42
43
# We need to stop hotplug from launching net scripts until the boot level
44
# has completed
45
if [[ ${NETSERVICE} == "yes" && ${IFACE} != "lo" ]] ; then
46
	if [[ -z ${mylevel} || ${mylevel} == ${BOOTLEVEL} ]] ; then
47
		eerror "$0: cannot start until the runlevel "${BOOTLEVEL}" has completed"
48
		exit 1
49
	fi
50
fi
51
43
# Source configuration files.
52
# Source configuration files.
44
# (1) Source /etc/conf.d/${myservice} to get initscript-specific
53
# (1) Source /etc/conf.d/${myservice} to get initscript-specific
45
#     configuration (if it exists).
54
#     configuration (if it exists).

Return to bug 78495