Trouble with bash vs ash scripting

Hello.

I have an RUT956. I have some script (.sh) files on the device that start with:
#!/bin/sh

that work fine when called from an ssh session.

I recently had a script that needed some features of bash.

So I started my script with:
#!/bin/bash

But when I run it from an ssh session, I get “not found”

I then typed the command:

which bash

And got nothing returned.

I then did opkg update, and opkg install bash, but bash was not available and not in the opkg list.

Is bash not supported?

Apologies, ash and bash are new terms to me. I hope I’m using them right. Thank you.

Hello,

bash isn’t in the default opkg repo, use this one instead:

opkg -e /etc/opkg/openwrt/distfeeds.conf update
opkg -e /etc/opkg/openwrt/distfeeds.conf install bash

Regards,