From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Question regarding shebang /bin/sh Date: Tue, 07 Apr 2020 17:24:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2041099501398851409==" List-Id: --===============2041099501398851409== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello *, quite a bunch of initscripts in IPFire 2.x contains the /bin/sh as given inte= rpreter in their shebang line. Since /bin/sh is a symlink to /bin/bash, I guess it ma= kes sense to rewrite them to /bin/bash accordingly. That way, we avoid potential collateral damage by following symlinks (dangero= us!) and provide additional information so tools like shellcheck know what they are actually d= ealing with. Opinions? Thanks, and best regards, Peter M=C3=BCller --===============2041099501398851409==--