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

Collapse All | Expand All

(-)a/sys-fs/udev/files/move_tmp_persistent_rules-112-r1.sh (-2 / +18 lines)
Lines 2-8 Link Here
2
# Copyright 1999-2007 Gentoo Foundation
2
# Copyright 1999-2007 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
4
5
. /etc/init.d/functions.sh
5
if test "`ps -p 1 -o comm=`" = "systemd"; then
6
	SCRIPTNAME="$0"
7
8
	ebegin() {
9
		logger -t "$SCRIPTNAME" "${@:1}"
10
	}
11
12
	eend() {
13
		local retval=$1
14
		if test $retval -ne 0; then
15
			logger -t "$SCRIPTNAME" "Error return code $retval: ${@:2}"
16
			exit $retval
17
		fi
18
	}
19
else
20
	. /etc/init.d/functions.sh
21
fi
6
22
7
# store persistent-rules that got created while booting
23
# store persistent-rules that got created while booting
8
# when / was still read-only
24
# when / was still read-only
Lines 22-25 store_persistent_rules() { Link Here
22
38
23
store_persistent_rules
39
store_persistent_rules
24
40
25
# vim:ts=4
41
# vim:ts=4 sw=4
(-)a/sys-fs/udev/files/net-130-r1.sh (+5 lines)
Lines 5-10 Link Here
5
# Copyright 2007 Roy Marples <uberlord@gentoo.org>
5
# Copyright 2007 Roy Marples <uberlord@gentoo.org>
6
# Distributed under the terms of the GNU General Public License v2
6
# Distributed under the terms of the GNU General Public License v2
7
7
8
if test "`ps -p 1 -o comm=`" = "systemd"; then
9
	logger -t "$0" "You are using systemd, exiting. (${@:1})"
10
	exit
11
fi
12
8
IFACE=$1
13
IFACE=$1
9
ACTION=$2
14
ACTION=$2
10
15

Return to bug 318365