You could reduce check-shutdown.sh to the ssh part and prevent-shutdown.sh to “run long-running-command using ssh”.
That’s elegant in some sense, but somehow doesn’t feel like the right way to do it.
Current theme: default
Less Wrong (text)
Less Wrong (link)
You could reduce check-shutdown.sh to the ssh part and prevent-shutdown.sh to “run long-running-command using ssh”.
That’s elegant in some sense, but somehow doesn’t feel like the right way to do it.