CommentStreams:91c743256357917431d16c725bb94546
You can safely shutdown NASPi using the Raspberry Pi desktop power off by the following steps: 1) Create directory /etc/systemd/system/systemd-poweroff.service.d 2) Create /etc/systemd/system/systemd-poweroff.service.d/poweroff.conf
[Service] ExecStartPre=/usr/local/bin/poweroff.sh
3) Create /usr/local/bin/poweroff.sh
#!/bin/bash
sudo /usr/local/bin/xSoft.sh 0 27
Save & Exit
sudo chmod u+x /usr/local/bin/poweroff.sh