Raspbian autologin and run command after that

Raspbian autologin and run command after that

Publikováno: 28.7.2018

Use raspi-config command

sudo raspi-config

In menu choose:

Boot options -> Desktop / CLI -> Console autologin

After reboot, prepare script:

chmod +x script.sh

Setup startup script:

nano /home/pi/.bashrc

Type: 

/home/script.sh

Reboot device

sudo reboot

Now is your autorun script ready.

 

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace