3 ms·
Could turn this entirely into a shell script per reboot with "expect", I... uh, expect. Or just one shell script with a little more cleverness (to initiate the
by yamtaddle 4y ago
Could turn this entirely into a shell script per reboot with "expect", I... uh, expect. Or just one shell script with a little more cleverness (to initiate the next phase after each reboot, automatically).
... though I'm not sure whether "expect" is in base Alpine, or you'd have to install it, defeating most of the purpose.
- yjftsjthsd-h 4y ago> ... though I'm not sure whether "expect" is in base Alpine, or you'd have to install it, defeating most of the purpose. It's not on the default system if that's what you mean, but it's packaged as https://pkgs.alpinelinux.org/package/v3.16/main/x86_64/expect https://pkgs.alpinelinux.org/package/v3.16/main/x86_64/expec... so you could at least install it partway in and rerun that way. Depending on the goal you might be better off using https://wiki.alpinelinux.org/wiki/Alpine_local_backup https://wiki.alpinelinux.org/wiki/Alpine_local_backup to save the system.