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
@@ -21,7 +21,7 @@ $(init_SCRIPTS) $(initconf_SCRIPTS) $(initcommon_SCRIPTS): $(EXTRA_DIST)
else \
NFS_SRV=nfs; \
fi; \
if [ -e /etc/gentoo-release ]; then \
if [ -e /sbin/openrc-run ]; then \
SHELL=/sbin/runscript; \
else \
SHELL=/bin/sh; \