From 5427783fdf3d183ea4e63afc507c31d88f0d2c9c Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 7 Dec 2018 13:41:06 -0600 Subject: standardize the default shell I do not know of a need to have the default shell be a build-time configurable setting. All *nix systems I am aware of have /bin/sh as a default posix compatible shell. If some systems running OpenRC do not make that assumption about /bin/sh, I will consider bringing this back, so feel free to open an issue. --- sh/binfmt.sh.in | 2 +- sh/cgroup-release-agent.sh.in | 2 +- sh/gendepends.sh.in | 2 +- sh/init-early.sh.Linux.in | 2 +- sh/init.sh.BSD.in | 2 +- sh/init.sh.GNU-kFreeBSD.in | 2 +- sh/init.sh.GNU.in | 2 +- sh/init.sh.Linux.in | 2 +- sh/migrate-to-run.sh.in | 2 +- sh/openrc-run.sh.in | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to 'sh') diff --git a/sh/binfmt.sh.in b/sh/binfmt.sh.in index be0ed482..ca4a8833 100644 --- a/sh/binfmt.sh.in +++ b/sh/binfmt.sh.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh # This is a reimplementation of the systemd binfmt.d code to register # misc binary formats with the kernel. # diff --git a/sh/cgroup-release-agent.sh.in b/sh/cgroup-release-agent.sh.in index 394b7ec7..179e6bcf 100644 --- a/sh/cgroup-release-agent.sh.in +++ b/sh/cgroup-release-agent.sh.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh # This is run by the kernel after the last task is removed from a # control group in the openrc hierarchy. diff --git a/sh/gendepends.sh.in b/sh/gendepends.sh.in index 45147e6a..6ecec6b7 100644 --- a/sh/gendepends.sh.in +++ b/sh/gendepends.sh.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh # Shell wrapper to list our dependencies # Copyright (c) 2007-2015 The OpenRC Authors. diff --git a/sh/init-early.sh.Linux.in b/sh/init-early.sh.Linux.in index f07bc11b..b7082a02 100644 --- a/sh/init-early.sh.Linux.in +++ b/sh/init-early.sh.Linux.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh # Copyright (c) 2007-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 diff --git a/sh/init.sh.BSD.in b/sh/init.sh.BSD.in index 64282e99..eb524aaf 100644 --- a/sh/init.sh.BSD.in +++ b/sh/init.sh.BSD.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh # Copyright (c) 2007-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 diff --git a/sh/init.sh.GNU-kFreeBSD.in b/sh/init.sh.GNU-kFreeBSD.in index 5eb8064e..dd07ad4a 100644 --- a/sh/init.sh.GNU-kFreeBSD.in +++ b/sh/init.sh.GNU-kFreeBSD.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh # Copyright (c) 2007-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 diff --git a/sh/init.sh.GNU.in b/sh/init.sh.GNU.in index 08a492a1..23f67480 100644 --- a/sh/init.sh.GNU.in +++ b/sh/init.sh.GNU.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh # Copyright (c) 2007-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 diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 7ee25b57..222bbd3b 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh # Copyright (c) 1999-2007 Gentoo Foundation # Copyright (c) 2007-2009 Roy Marples # Released under the 2-clause BSD license. diff --git a/sh/migrate-to-run.sh.in b/sh/migrate-to-run.sh.in index 2a31b6d6..7dc85e66 100644 --- a/sh/migrate-to-run.sh.in +++ b/sh/migrate-to-run.sh.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh # 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 diff --git a/sh/openrc-run.sh.in b/sh/openrc-run.sh.in index 7e9064c2..20c1b8ad 100644 --- a/sh/openrc-run.sh.in +++ b/sh/openrc-run.sh.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh # Shell wrapper for openrc-run # Copyright (c) 2007-2015 The OpenRC Authors. -- cgit v1.2.3