mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-29 13:02:35 +02:00
move shutdown script
This commit is contained in:
4
FAQ.md
4
FAQ.md
@@ -840,12 +840,12 @@ https://seravo.fi/2015/using-raid-btrfs-recovering-broken-disks
|
|||||||
|
|
||||||
When the LCD display is telling you to do a config check:
|
When the LCD display is telling you to do a config check:
|
||||||
- go to the RaspiBlitz terminal (X on main menu) and run './XXsyncScripts.sh'
|
- go to the RaspiBlitz terminal (X on main menu) and run './XXsyncScripts.sh'
|
||||||
- start reboot with command: './XXshutdown.sh reboot'
|
- start reboot with command: 'restart'
|
||||||
- go to the RaspiBlitz terminal run the command: 'check'
|
- go to the RaspiBlitz terminal run the command: 'check'
|
||||||
- now edit the RaspiBlitz config and get rid of the errors: 'nano /mnt/hdd/raspiblitz.conf'
|
- now edit the RaspiBlitz config and get rid of the errors: 'nano /mnt/hdd/raspiblitz.conf'
|
||||||
- save config with: CTRL+o
|
- save config with: CTRL+o
|
||||||
- exit nano editor with: CTRL+x
|
- exit nano editor with: CTRL+x
|
||||||
- start reboot with command: './XXshutdown.sh reboot'
|
- start reboot with command: 'restart'
|
||||||
|
|
||||||
## How to fix my upside down LCD after update?
|
## How to fix my upside down LCD after update?
|
||||||
|
|
||||||
|
@@ -100,7 +100,7 @@ do
|
|||||||
# detect a missing DHCP config
|
# detect a missing DHCP config
|
||||||
if [ "${localip:0:4}" = "169." ]; then
|
if [ "${localip:0:4}" = "169." ]; then
|
||||||
echo "Missing DHCP detected ... trying emergency reboot"
|
echo "Missing DHCP detected ... trying emergency reboot"
|
||||||
sudo /home/admin/XXshutdown.sh reboot
|
sudo /home/admin/config.scripts/blitz.shutdown.sh reboot
|
||||||
else
|
else
|
||||||
echo "DHCP OK"
|
echo "DHCP OK"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user