New answers tagged

1 vote

Writing bash script to reboot pi 10 times and log output

How are you keeping track of how many times you've booted? You'll probably need to save the count in a file. [[ -s boot_count ]] || echo "0" > boot_count n=$(cat boot_count) (( n += 1 )) ...
Waxrat's user avatar
  • 556
0 votes

How do I reboot at a specific time?

crontab -e Have to admit this generator really helped! I had to do sudo reboot now even though it was done on a root shell. shrugs
Rip3rs's user avatar
  • 101

Top 50 recent answers are included