antranigv / wireguard-sailfish

WireGuard for Sailfish
4 stars 1 forks source link

shopt not found #3

Open mauri5hut opened 2 years ago

mauri5hut commented 2 years ago

When executing wg-quick, the Bash Built-In "shopt" is not found:

/usr/bin/wg-quick: line 8: shopt: not found

wg-quick is executed as root (devel-su). The default Shell is /bin/bash, the ~/.basrc and /etc/bashrc are sourced.

OS Build: 4.1.0.24 (Kvarken)

Any idea?

mauri5hut commented 2 years ago

Ok, it seems, that the bashrc is not sourced. But if it is manual sourced, the same error message appears (here from the /etc/bashrc).

mauri5hut commented 2 years ago

There is a new Shell (Busybox) which does not load bashrc files. Anyway, shopt seems not existing. (https://forum.sailfishos.org/t/release-notes-koli-4-0-1/4542/65)

antranigv commented 2 years ago

Hello @mauri5hut and thank you for the issue.

I have not tested my package agains Sailfish 4 yet. I will do over the course of the weekend and let you know.

If you have any more updates during your usage, please add them here :)

Thank you!