Is it possible to convert this TVHeadEnd bash script to a shell script that busybox can run?
Bernd Petrovitsch
bernd at petrovitsch.priv.at
Thu Aug 28 06:41:54 UTC 2014
On Don, 2014-08-28 at 05:15 +0000, K.S. wrote:
[...]
> If anyone could tell me what needs to be changed to make this run in busybox
> I would much appreciate it. Or, if there is a good online reference that
> shows how to convert a bash script to a busybox script, I would appreciate a
> link.
What do you mean with "busybox script"?
"bash" is just a blown-up/extended version of the classical Bourne-Shell
so just change the #! line at the top to call busybox' ash, start it,
see where it breaks and fix that.
MfG,
Bernd
--
"I dislike type abstraction if it has no real reason. And saving
on typing is not a good reason - if your typing speed is the main
issue when you're coding, you're doing something seriously wrong."
- Linus Torvalds
More information about the busybox
mailing list