PDA

View Full Version : rc.local problems


Troto
27-06-2008, 02:08
Hi all

I just installed the custom firmware with almost no problems.

I only need to add some line into it but when i open it with any editor all i see is gibberish. I can not read the file, I only see weird characters.

Any ideas on what's going on ?
If you would like i could post the file, but i think it's pointless.

Thanks

kfurge
27-06-2008, 03:54
I only need to add some line into it but when i open it with any editor all i see is gibberish. I can not read the file, I only see weird characters.


What file are you referring to exactly?

- K.C.

Troto
27-06-2008, 09:16
rc.local

It was written in the subject, but ai forgott to put in in the actual post :D

Troto
27-06-2008, 22:17
ok, so i've rewriten the rc.local file, and put it back, but it does not get executed on boot.

how can i find out why ?

kfurge
29-06-2008, 03:54
ok, so i've rewriten the rc.local file, and put it back, but it does not get executed on boot.

There's lots of potential reasons. Some common ones are:

1) Edited on a windows machine
2) Contains a syntax error
3) Is not set as executable
4) Does not have a valid shell

- K.C.

Troto
29-06-2008, 19:57
1) Edited on a windows machine
2) Contains a syntax error
3) Is not set as executable
4) Does not have a valid shell


1) yes but i kept the unix file format
2) no errors
3) yes it is
4) it does

i got it to work, but i don't know what i did, it just started to work after a few restarts :)

kfurge
05-07-2008, 15:38
i got it to work, but i don't know what i did, it just started to work after a few restarts :)

Good to hear.

- K.C.