Difference between revisions of "Explorer/RaspberryPi/PowerOffProtection"

From PaparazziUAV
Jump to navigation Jump to search
Line 8: Line 8:
  sudo dphys-swapfile uninstall;\
  sudo dphys-swapfile uninstall;\
  sudo update-rc.d dphys-swapfile remove
  sudo update-rc.d dphys-swapfile remove
check: reboot, create file, reboot, file is not here
boot/cmdline.txt
remove "init=/sbin/overlayRoot.sh"
check: reboot, create file, reboot, file is here

Revision as of 03:10, 23 June 2020

Hello

git clone https://github.com/marklister/overlayRoot.git
cd overlayRoot 
sudo bash install
sudo dphys-swapfile swapoff;\
sudo dphys-swapfile uninstall;\
sudo update-rc.d dphys-swapfile remove

check: reboot, create file, reboot, file is not here

boot/cmdline.txt
remove "init=/sbin/overlayRoot.sh"

check: reboot, create file, reboot, file is here