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. --- scripts/halt.in | 2 +- scripts/poweroff.in | 2 +- scripts/rc-sstat.in | 2 +- scripts/reboot.in | 2 +- scripts/shutdown.in | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3