aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-12-07 15:31:13 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-12-07 15:31:13 -0600
commitd95425b08a1675efb66def056d0f92e6b2d78a77 (patch)
tree0be39f49e6f347f66b601be06da5997cc1160521 /sh
parent76420d9849e6832a52aa4c1ba1fd2895b7d51a08 (diff)
rc-cgroup.sh: remove shebang line
This is not a stand-alone script, so it does not need the shebang line. This also means it is not necessary to run this through sed.
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