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

Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +3 lines)
Line  Link Here
0
-- sh/tmpfiles.sh.in~
0
++ sh/tmpfiles.sh.in
Lines 43-55 Link Here
43
_b() {
43
_b() {
44
	# Create a block device node if it doesn't exist yet
44
	# Create a block device node if it doesn't exist yet
45
	local path=$1 mode=$2 uid=$3 gid=$4 age=$5 arg=$6
45
	local path=$1 mode=$2 uid=$3 gid=$4 age=$5 arg=$6
46
	[ ! -e "$path" ] && dryrun_or_real mknod $path b ${arg%:*} ${arg#*:}
46
	if [ ! -e "$path" ]; then dryrun_or_real mknod $path b ${arg%:*} ${arg#*:}; fi
47
}
47
}
48
48
49
_c() {
49
_c() {
50
	# Create a character device node if it doesn't exist yet
50
	# Create a character device node if it doesn't exist yet
51
	local path=$1 mode=$2 uid=$3 gid=$4 age=$5 arg=$6
51
	local path=$1 mode=$2 uid=$3 gid=$4 age=$5 arg=$6
52
	[ ! -e "$path" ] && dryrun_or_real mknod $path c ${arg%:*} ${arg#*:}
52
	if [ ! -e "$path" ]; then dryrun_or_real mknod $path c ${arg%:*} ${arg#*:}; fi
53
}
53
}
54
54
55
55

Return to bug 478336