These are great points, and I fully agree. I'd be interested in knowing what kind of license or corporate structure or contract would give you confidence that the organization is worth investing in. I could put all the software out with a really strong Affero license so that you've got the source code, but I get the impression that you, like me, want more than that. Corporations like Mondragon are interesting to me, and I'm aware of a few different tech cooperative organizations. I'm not confident that a cooperative structure alone is enough. Yes, it helps avoid the company taking VC money, shooting for the moon, failing, and then selling everything that's not clearly legally radioactive. But it doesn't protect you against more insidious forces like the founders selling to private capital and adjusting the EULA every few months until they have the right to sell off your baby photos.
I've been batting around the idea of creating a compliment to the "end-user license agreement" - the "originating company license agreement". Something like a poison pill that forces the company to pay out to customers in the event of a data breach, sale of customer data, or other events that a would-be acquirer may think is worth it for them.
I'm just not sure yet what kinds of controls would be strong enough to convince people who have been burned by this sort of thing in the past. What do you think?
I'm not aware of a script alone that could do it, assuming you bought some hardware that came with Windows and wanted to run Linux. Is it possible these days to install Linux from within Windows? I've been flashing via disks for too long now.
I do know that some routers are scriptable, but not all routers are, so it may not be possible to do things like expose a port on the Internet with just scripts on whatever router they have.