pibakery-blocks
pibakery-blocks copied to clipboard
SSH enabler/disabler
@zejjnt I like this PR, but shouldn't the "DISABLE" option run rm -f /boot/ssh? As is, rm will return 1 if the file does not exist, and I'm not sure how PiBakery will handle that failure.
Why not using raspi-config as described here?: https://www.raspberrypi.org/forums/viewtopic.php?p=1160522&sid=4ccce1296424353b958557405ad70785#p1160522
sudo raspi-config nonint do_ssh