Cryptsetup Mount Script Post Opkg install

  • Hello all- I recently install cryptsetup through Opkg and I am trying to automount my external drives through the autostart.sh script. Here is my code:

    #!/bin/sh

    When I do this, it just keeps endlessly rebooting after what seems like 30 seconds(maybe post getting through sleep 30)

    My above script works flawlessly in Debian/Ubuntu but I am thinking that the same commands but not be valid in LibreElec. Any help would be appreciated!