diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-02-08 22:57:36 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-02-08 22:57:36 +0100 |
commit | 9bc2a9158b30cc217e93c85e72a62d164c3a9b73 (patch) | |
tree | b575e750e87f607d7249b381c1ed5afe44712be6 | |
parent | 9db0275c53334eb3efd26ea272f81c242af3f79b (diff) | |
download | hurd-9bc2a9158b30cc217e93c85e72a62d164c3a9b73.tar.gz hurd-9bc2a9158b30cc217e93c85e72a62d164c3a9b73.tar.bz2 hurd-9bc2a9158b30cc217e93c85e72a62d164c3a9b73.zip |
runsystem.hurd.sh: Try to run bash first
Some systems have /bin/sh pointing to dash, which is even more stressful
for users when running in an emergency. Better first try bash. Also try
dash too in case /bin/sh is hosed.
-rw-r--r-- | daemons/runsystem.hurd.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/runsystem.hurd.sh.in b/daemons/runsystem.hurd.sh.in index 58cfbe7b..f4ed0a5a 100644 --- a/daemons/runsystem.hurd.sh.in +++ b/daemons/runsystem.hurd.sh.in @@ -17,7 +17,7 @@ export PATH umask 022 # If we lose badly, try to exec each of these in turn. -fallback_shells='/bin/sh /bin/bash /bin/csh /bin/ash /bin/shd' +fallback_shells='/bin/bash /bin/sh /bin/dash /bin/csh /bin/ash /bin/shd' # Shell used for normal single-user startup. SHELL=/bin/sh |