Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: gestein on December 30, 2016, 11:58:19 AM

Title: bootlocal.sh blocks system
Post by: gestein 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
Title: Re: bootlocal.sh blocks system
Post by: Misalf 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.
Title: Re: bootlocal.sh blocks system
Post by: gestein 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
Title: Re: bootlocal.sh blocks system
Post by: Misalf 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.