Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 530138
Collapse All | Expand All

(-)a/init.d/sysfs.in (-15 / +3 lines)
Lines 129-153 restorecon_sys() Link Here
129
		restorecon -rF /sys/fs/cgroup >/dev/null 2>&1
129
		restorecon -rF /sys/fs/cgroup >/dev/null 2>&1
130
		eend $?
130
		eend $?
131
	fi
131
	fi
132
133
	return 0
134
}
132
}
135
133
136
start()
134
start()
137
{
135
{
138
	local retval
139
	mount_sys
136
	mount_sys
140
	retval=$?
137
	mount_misc
141
	if [ $retval -eq 0 ]; then
138
	mount_cgroups
142
		mount_misc
143
		retval=$?
144
	fi
145
	if [ $retval -eq 0 ]; then
146
		mount_cgroups
147
		retval=$?
148
	fi
149
150
	restorecon_sys
139
	restorecon_sys
151
140
	return 0
152
	return $retval
153
}
141
}

Return to bug 530138