OMFG i have wasted an entire afternoon.
SOLUTION: use line endings encode linefeed (unix) and not windows one.
Search found 4 matches
- Sat Oct 08, 2011 6:33 pm
- Forum: General Discussion
- Topic: init script
- Replies: 5
- Views: 8100
- Sat Oct 08, 2011 6:12 pm
- Forum: General Discussion
- Topic: init script
- Replies: 5
- Views: 8100
Re: init script
fun fact, if i use a direct call to busybox it works (at least the run part) root@741nd:/etc/init.d# ls -l z_prova* -rwxr-xr-x 1 root root 37 Oct 8 21:30 z_prova_02.txt root@741nd:/etc/init.d# /bin/ash z_prova_02.txt culo root@741nd:/etc/init.d# /bin/sh z_prova_02.txt culo but with the standard meth...
- Sat Oct 08, 2011 5:44 pm
- Forum: Hardware / Installation Issues
- Topic: Successfully flashed a router? Tell Us!
- Replies: 293
- Views: 707765
Re: Successfully flashed a router? Tell Us!
tp link wr741nd v2.4 gargoyle 1.4.0 r27980 succesful. Only 2 flaws so far (maybe for my fault): 1. i can't execute not preesistent scripts. 2. if i reboot the router, it freeze. I ned to unplug the power and replug it to get the router back to work. edit: no, it's all ok, these flaws are caused by me.
- Sat Oct 08, 2011 3:40 pm
- Forum: General Discussion
- Topic: init script
- Replies: 5
- Views: 8100
Re: init script
Sorry for the gravedigging, but the search route me here. I have the exact problem but i didn't find a solution. For example i try to run (only run) a simple script: #!/bin/sh /etc/rc.common echo culo the result is root@741nd:/etc/init.d# chmod 755 scriptName root@741nd:/etc/init.d# ./scriptName 'bi...