The winbox-install script specifies #! /bin/sh in the first line, but then uses syntax features such as [[ that are not supported by plain sh and are present only in more complex shells. On systems where there is a real /bin/sh, and /bin/sh is not just a symlink to /bin/bash or some other shell, the script therefore fails with a syntax error.
The
winbox-install
script specifies#! /bin/sh
in the first line, but then uses syntax features such as[[
that are not supported by plainsh
and are present only in more complex shells. On systems where there is a real/bin/sh
, and/bin/sh
is not just a symlink to/bin/bash
or some other shell, the script therefore fails with a syntax error.