WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: bootlocal.sh blocks system  (Read 460 times)

Offline gestein

  • WikiUser
  • *
  • Posts: 2
bootlocal.sh blocks system
« on: December 30, 2016, 11:58:19 AM »
Hi,

I need to start an endless script during startup.
By a stupid accident, I forgot to start the script within bootlocal.sh as background process.
So my system is now blocked and I can't connect to it via ssh.

Is there any chance to prevent bootlocal.sh from being started?

Thanks and best regards
Gerhard

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1548
Re: bootlocal.sh blocks system
« Reply #1 on: December 30, 2016, 12:42:44 PM »
Hi,
boot with  norestore  boot code.
Then do  filetool.sh -r  to restore your backup into the filesystem (at this stage your  bootlocal.sh  won't run),
 fix your  bootlocal.sh
 run  filetool.sh -b
 reboot.
Download a copy and keep it handy: Core book ;)

Offline gestein

  • WikiUser
  • *
  • Posts: 2
Re: bootlocal.sh blocks system
« Reply #2 on: December 30, 2016, 01:19:58 PM »
Thanks a lot.
I will try.

But I assume that this will also break my wifi and that I have to do this via keyboard and hdmi monitor. Right?
Is there a way to change the bootlocal.sh via ssh?

Thanks and best regards
Gerhard

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1548
Re: bootlocal.sh blocks system
« Reply #3 on: December 30, 2016, 01:45:47 PM »
Yes, you would need physical access to your box as SSH won't be running and your WIFI connection won't have been established.
I currently don't know an alternative way.
Download a copy and keep it handy: Core book ;)