diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2018-12-07 13:41:06 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-12-08 12:06:26 -0600 |
commit | 5427783fdf3d183ea4e63afc507c31d88f0d2c9c (patch) | |
tree | 3da5a048164ea07caed56196f6afc35a6fe4dedc /scripts | |
parent | d95425b08a1675efb66def056d0f92e6b2d78a77 (diff) |
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.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/halt.in | 2 | ||||
-rw-r--r-- | scripts/poweroff.in | 2 | ||||
-rw-r--r-- | scripts/rc-sstat.in | 2 | ||||
-rw-r--r-- | scripts/reboot.in | 2 | ||||
-rw-r--r-- | scripts/shutdown.in | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/scripts/halt.in b/scripts/halt.in index 257cc2a7..70e93662 100644 --- a/scripts/halt.in +++ b/scripts/halt.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh option_arg= poweroff_arg= diff --git a/scripts/poweroff.in b/scripts/poweroff.in index 5632f679..1c260d32 100644 --- a/scripts/poweroff.in +++ b/scripts/poweroff.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh option_arg= poweroff_arg= diff --git a/scripts/rc-sstat.in b/scripts/rc-sstat.in index a204dbda..bcd0ae23 100644 --- a/scripts/rc-sstat.in +++ b/scripts/rc-sstat.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh # Copyright (c) 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/scripts/reboot.in b/scripts/reboot.in index c805ceb2..60251d8c 100644 --- a/scripts/reboot.in +++ b/scripts/reboot.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh option_arg= poweroff_arg= diff --git a/scripts/shutdown.in b/scripts/shutdown.in index 7d68bf09..af3ea2b3 100644 --- a/scripts/shutdown.in +++ b/scripts/shutdown.in @@ -1,4 +1,4 @@ -#!@SHELL@ +#!/bin/sh shutdown_arg= while getopts :akrhPHfFnct: opt; do |