aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/.gitignore1
-rw-r--r--sh/Makefile8
-rw-r--r--sh/rc-cgroup.sh (renamed from sh/rc-cgroup.sh.in)1
3 files changed, 4 insertions, 6 deletions
diff --git a/sh/.gitignore b/sh/.gitignore
index 186a409c..918a9f65 100644
--- a/sh/.gitignore
+++ b/sh/.gitignore
@@ -4,6 +4,5 @@ openrc-run.sh
cgroup-release-agent.sh
init.sh
init-early.sh
-rc-cgroup.sh
migrate-to-run.sh
binfmt.sh
diff --git a/sh/Makefile b/sh/Makefile
index e5029bcd..259954c7 100644
--- a/sh/Makefile
+++ b/sh/Makefile
@@ -2,7 +2,7 @@ DIR= ${LIBEXECDIR}/sh
SRCS= init.sh.in functions.sh.in gendepends.sh.in \
openrc-run.sh.in ${SRCS-${OS}}
INC= rc-mount.sh functions.sh rc-functions.sh runit.sh s6.sh \
- start-stop-daemon.sh supervise-daemon.sh
+ start-stop-daemon.sh supervise-daemon.sh ${INC-${OS}}
BIN= gendepends.sh init.sh openrc-run.sh ${BIN-${OS}}
INSTALLAFTER= _installafter
@@ -14,9 +14,9 @@ SRCS-FreeBSD=
BIN-FreeBSD=
SRCS-Linux= binfmt.sh.in cgroup-release-agent.sh.in init-early.sh.in \
- migrate-to-run.sh.in rc-cgroup.sh.in
-BIN-Linux= binfmt.sh cgroup-release-agent.sh init-early.sh migrate-to-run.sh \
- rc-cgroup.sh
+ migrate-to-run.sh.in
+BIN-Linux= binfmt.sh cgroup-release-agent.sh init-early.sh migrate-to-run.sh
+INC-Linux= rc-cgroup.sh
SRCS-NetBSD=
BIN-NetBSD=
diff --git a/sh/rc-cgroup.sh.in b/sh/rc-cgroup.sh
index 79ada43f..5d24344d 100644
--- a/sh/rc-cgroup.sh.in
+++ b/sh/rc-cgroup.sh
@@ -1,4 +1,3 @@
-#!@SHELL@
# Copyright (c) 2012-2015 The OpenRC Authors.
# See the Authors file at the top-level directory of this distribution and
# https://github.com/OpenRC/openrc/blob/master/AUTHORS