I’m trying to install the cleanshutdown software on a Raspberry Zero W running Bullseye 32bit Lite.
From a freashly imaged SD card these are the commands I’ve entered:
pi@RaspberryPi:~ $ history
1 sudo apt-get update
2 sudo apt-get full-upgrade -y
3 curl https://get.pimoroni.com/cleanshutdown | bash
4 sudo curl https://get.pimoroni.com/cleanshutdown | bash
5 history
pi@RaspberryPi:~ $
I’m seeing two error messages, the first is “main: line 275: dscl: command not found” and the second is “mkdir: cannot create directory ‘/Pimoroni’: Permission denied”. Further error messages appear saying “cd: /Pimoroni: No such file or directory”. These I guess are a result of the second error message.
As you can see from the history command output I’ve tried prefixing the install with sudo but I get the same results.
What needs to be done to get the install to work?