OpenWrt Forum Archive

Topic: Error in execution of package

The content of this topic has been archived on 7 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,
I have created my packages with bash commands,the scripts runs perfectly when run directly like ./sample.sh
but when I put the script in package then it gives me this error

-ash: sample_package: not found

Any idea what is missing here.

Check shebang

#!/bin/sh

is the only valid one. no bash sorry.

The discussion might have continued from here.