DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-09-10 13:31:11

psechser
New member
Registered: 2010-09-10
Posts: 3

fun_plug stops working when adding #!/bin/sh

Hi everyone

I tried to get telnet working and added fun_plug and all the other stuff as documented. However, my fun_plug works just fine as long as i don't add the line

   #!/bin/sh

Well, telnet doesn't work so far. But even normal commands don't work with the above line added. Once I remove it, my regular unix commands just work fine.

As it appears, that the script to start telnet needs that line included, obviously this might be the reason for not getting telnet up and running.

So, what is it about the shell above? What am I doing wrong?

thanks,
Peter

Offline

 

#2 2010-09-10 19:13:46

psechser
New member
Registered: 2010-09-10
Posts: 3

Re: fun_plug stops working when adding #!/bin/sh

Yak ... grrrr

CR LF was the problem ... even in vi I couldn't see those two together. Finally the hex editor allowed me to remove the 0D in front of each 0A ... working fine now

sorry

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB