Removed use of bash from scripts tht can work with a POSIX sh

Signed-off-by: Haru <haru@dotalux.com>