summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-08 22:03:48 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-08 22:03:48 +0100
commit6fa46f4bdca4c6774a2cddba6585a3695ad6f9c8 (patch)
tree53a8fe36274852f7b67b109e2675784f0987e6e8
parent4944968bc2fe4eb5573aba89ea074dcfba0dcb12 (diff)
runsystem: 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.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/runsystem.sh b/daemons/runsystem.sh
index aae584c9..b10145a3 100644
--- a/daemons/runsystem.sh
+++ b/daemons/runsystem.sh
@@ -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