This shall fix #12271 Use $SHELL env-variable if available. (thanks to @Frenzie) Use a read line wrapper (either rlfe or rlwrap) if available so that dash can be used as interactive shell.