Open zejjnt opened 5 years ago
@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.
"DISABLE"
rm -f /boot/ssh
rm
1
Why not using raspi-config as described here?: https://www.raspberrypi.org/forums/viewtopic.php?p=1160522&sid=4ccce1296424353b958557405ad70785#p1160522
raspi-config
sudo raspi-config nonint do_ssh
@zejjnt I like this PR, but shouldn't the
"DISABLE"
option runrm -f /boot/ssh
? As is,rm
will return1
if the file does not exist, and I'm not sure how PiBakery will handle that failure.