I've tested this script and workflow on Umbrel, and it works. See resource/credit at the end.
ssh -t umbrel@umbrel.local
, and login with your password
Read more about charge-lnd here.
First step is to create charge-lnd config/policy file charge-lnd.config
, and put it in /mnt/data/umbrel/app-data/lightning-shell/data