Add support for alpine linux

Both Alpine Linux and Gentoo use OpenRC so we share its logic

Signed-off-by: Carlo Landmeter <clandmeter@gmail.com>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4386
This commit is contained in:
Carlo Landmeter
2016-03-01 16:36:28 +01:00
committed by Brian Behlendorf
parent 513168abd2
commit c53fb0113c
6 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ do_start()
# ----------------------------------------------------
if [ ! -e /etc/gentoo-release ]
if [ ! -e /sbin/openrc-run ]
then
case "$1" in
start)