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.
This commit is contained in:
William Hubbs 2018-12-07 15:31:13 -06:00
parent 76420d9849
commit d95425b08a
3 changed files with 4 additions and 6 deletions

1
sh/.gitignore vendored
View File

@ -4,6 +4,5 @@ openrc-run.sh
cgroup-release-agent.sh cgroup-release-agent.sh
init.sh init.sh
init-early.sh init-early.sh
rc-cgroup.sh
migrate-to-run.sh migrate-to-run.sh
binfmt.sh binfmt.sh

View File

@ -2,7 +2,7 @@ DIR= ${LIBEXECDIR}/sh
SRCS= init.sh.in functions.sh.in gendepends.sh.in \ SRCS= init.sh.in functions.sh.in gendepends.sh.in \
openrc-run.sh.in ${SRCS-${OS}} openrc-run.sh.in ${SRCS-${OS}}
INC= rc-mount.sh functions.sh rc-functions.sh runit.sh s6.sh \ 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}} BIN= gendepends.sh init.sh openrc-run.sh ${BIN-${OS}}
INSTALLAFTER= _installafter INSTALLAFTER= _installafter
@ -14,9 +14,9 @@ SRCS-FreeBSD=
BIN-FreeBSD= BIN-FreeBSD=
SRCS-Linux= binfmt.sh.in cgroup-release-agent.sh.in init-early.sh.in \ SRCS-Linux= binfmt.sh.in cgroup-release-agent.sh.in init-early.sh.in \
migrate-to-run.sh.in rc-cgroup.sh.in migrate-to-run.sh.in
BIN-Linux= binfmt.sh cgroup-release-agent.sh init-early.sh migrate-to-run.sh \ BIN-Linux= binfmt.sh cgroup-release-agent.sh init-early.sh migrate-to-run.sh
rc-cgroup.sh INC-Linux= rc-cgroup.sh
SRCS-NetBSD= SRCS-NetBSD=
BIN-NetBSD= BIN-NetBSD=

View File

@ -1,4 +1,3 @@
#!@SHELL@
# Copyright (c) 2012-2015 The OpenRC Authors. # Copyright (c) 2012-2015 The OpenRC Authors.
# See the Authors file at the top-level directory of this distribution and # See the Authors file at the top-level directory of this distribution and
# https://github.com/OpenRC/openrc/blob/master/AUTHORS # https://github.com/OpenRC/openrc/blob/master/AUTHORS